Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
astropy
/
astropy
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
2.2k
Star
5.3k
Code
Issues
1.3k
Pull requests
128
Actions
Projects
Wiki
Security and quality
1
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Breadcrumbs
History for
astropy
setup.py
on
main
User selector
All users
All time
Commit history
Commits on Nov 19, 2025
Drop support for `numpy<1.25`
Show description for 0609f66
eerovaher
committed
0609f66
View commit details
Copy full SHA for 0609f66
View code at this point
Browse repository at this point
Commits on Sep 18, 2025
Generate testable type stubs for unit definitions
Show description for 15e8ad6
eerovaher
committed
15e8ad6
View commit details
Copy full SHA for 15e8ad6
View code at this point
Browse repository at this point
Commits on Sep 9, 2025
ENH: Allow setup.py to create unit stubs on installation
Show description for 842c9ca
mhvk
committed
842c9ca
View commit details
Copy full SHA for 842c9ca
View code at this point
Browse repository at this point
Commits on May 26, 2025
Drop support for `numpy` < 1.24
eerovaher
committed
96f491a
View commit details
Copy full SHA for 96f491a
View code at this point
Browse repository at this point
Commits on Feb 19, 2025
BLD: set NPY_NO_DEPRECATED_API at the root level of the package
neutrinoceros
committed
39a13a2
View commit details
Copy full SHA for 39a13a2
View code at this point
Browse repository at this point
Commits on Dec 31, 2024
Remove help messages for legacy setup.py commands
Show description for e864484
eerovaher
committed
e864484
View commit details
Copy full SHA for e864484
View code at this point
Browse repository at this point
Commits on Dec 18, 2023
bump numpy minversion to 1.23
Show description for 6df7cc4
nstarman
committed
6df7cc4
View commit details
Copy full SHA for 6df7cc4
View code at this point
Browse repository at this point
Commits on Sep 21, 2023
Move setup.cfg to pyproject.toml (#15247)
Show description for 98710e2
WilliamJamieson
authored
98710e2
View commit details
Copy full SHA for 98710e2
View code at this point
Browse repository at this point
Commits on Aug 18, 2023
Build: Replace oldest-supported-numpy
Show description for 6aba670
pllim
and
saimn
committed
6aba670
View commit details
Copy full SHA for 6aba670
View code at this point
Browse repository at this point
Commits on Nov 15, 2022
[black] Allow `black` to run on misc other astropy files.
Show description for d2165fa
WilliamJamieson
committed
d2165fa
View commit details
Copy full SHA for d2165fa
View code at this point
Browse repository at this point
Commits on Sep 19, 2022
add `extension_helpers` to `known_first_party`
Show description for 40941ab
nstarman
committed
40941ab
View commit details
Copy full SHA for 40941ab
View code at this point
Browse repository at this point
Add top-level astropy stuff to isort
Show description for 901f4a7
nstarman
committed
901f4a7
View commit details
Copy full SHA for 901f4a7
View code at this point
Browse repository at this point
Commits on Nov 2, 2021
remove from setup.py and cfg
Show description for 29f257e
nstarman
committed
29f257e
View commit details
Copy full SHA for 29f257e
View code at this point
Browse repository at this point
setuptools_scm preferences in pyproject.toml
Show description for 348a940
nstarman
committed
348a940
View commit details
Copy full SHA for 348a940
View code at this point
Browse repository at this point
Commits on Oct 7, 2020
[#10760] Never use setuptools_scm except when importing astropy from within
Show description for a029611
embray
committed
a029611
View commit details
Copy full SHA for a029611
View code at this point
Browse repository at this point
Commits on Sep 7, 2020
Substitute redirects in external links checked by Sphinx builder
migueldvb
committed
5372adf
View commit details
Copy full SHA for 5372adf
View code at this point
Browse repository at this point
Commits on Jun 5, 2020
Apply comment from @astrofrog
pllim
authored
001291d
View commit details
Copy full SHA for 001291d
View code at this point
Browse repository at this point
Commits on Jun 4, 2020
MNT: Only import in setup when needed
pllim
committed
72c56a8
View commit details
Copy full SHA for 72c56a8
View code at this point
Browse repository at this point
Commits on May 4, 2020
Get pieces using LooseVersion from standard library
mhvk
committed
2bf8ed4
View commit details
Copy full SHA for 2bf8ed4
View code at this point
Browse repository at this point
Fix parsing of major/minor/bugfix to work for non-trivial version numbers such as .dev version numbers, and fix case where there is no bugfix number.
astrofrog
authored and
mhvk
committed
f35f376
View commit details
Copy full SHA for f35f376
View code at this point
Browse repository at this point
Make code more concise
astrofrog
authored and
mhvk
committed
b493129
View commit details
Copy full SHA for b493129
View code at this point
Browse repository at this point
add back in release and version_info as well
eteq
authored and
mhvk
committed
f6eed25
View commit details
Copy full SHA for f6eed25
View code at this point
Browse repository at this point
add trick for inferring major/minor/bugfix versions
eteq
authored and
mhvk
committed
a87212e
View commit details
Copy full SHA for a87212e
View code at this point
Browse repository at this point
Commits on Jan 22, 2020
Use setuptools_scm version template to automatically pick up changes in version if setuptools_scm is installed
astrofrog
committed
f1bd886
View commit details
Copy full SHA for f1bd886
View code at this point
Browse repository at this point
Updates to setup.py and setup.cfg
astrofrog
committed
1899efb
View commit details
Copy full SHA for 1899efb
View code at this point
Browse repository at this point
Added help messages for removed setup.py commands
astrofrog
committed
45cdbb1
View commit details
Copy full SHA for 45cdbb1
View code at this point
Browse repository at this point
Remove safeguard against importing astropy during setup since it should no longer be a risk
astrofrog
committed
20ac429
View commit details
Copy full SHA for 20ac429
View code at this point
Browse repository at this point
Use setuptools_scm to generate __version__ numbers
astrofrog
committed
31a2bfa
View commit details
Copy full SHA for 31a2bfa
View code at this point
Browse repository at this point
Remove astropy-helpers submodule and use pyproject.toml instead
Show description for 21b9d77
astrofrog
committed
21b9d77
View commit details
Copy full SHA for 21b9d77
View code at this point
Browse repository at this point
Commits on Sep 2, 2019
Updated minimum required version of Cython to ensure that we generate C code that is compatible with Python 3.6, 3.7, and 3.8
astrofrog
committed
a9cd19d
View commit details
Copy full SHA for a9cd19d
View code at this point
Browse repository at this point
Commits on Feb 20, 2019
Use a dedicated variable _ASTROPY_CORE_SETUP_ instead of _ASTROPY_SETUP_ to prevent imports at setup time
astrofrog
committed
b884da9
View commit details
Copy full SHA for b884da9
View code at this point
Browse repository at this point
Define default setup_requires and install_requires in setup.cfg
astrofrog
committed
ea22f7f
View commit details
Copy full SHA for ea22f7f
View code at this point
Browse repository at this point
Remove astropy import from setup.py
astrofrog
committed
2bca362
View commit details
Copy full SHA for 2bca362
View code at this point
Browse repository at this point
Commits on Jan 24, 2019
Simplify setup.py and update to latest astropy-helpers
astrofrog
committed
4c36c04
View commit details
Copy full SHA for 4c36c04
View code at this point
Browse repository at this point
Commits on Jan 11, 2019
Remove redundant Python version check since it now exists in ah_bootstrap.py
astrofrog
committed
87e1c98
View commit details
Copy full SHA for 87e1c98
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.