Repository navigation
MNT: Compatibility with Python 3.11 #13614
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
e3cf817
7091b57
f76c9c4
99b54a3
107638c
c8474ce
26bbaca
990925c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Compatibility with Python 3.11, 3.10.7, 3.9.14, 3.8.14 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| [tox] | ||
| envlist = | ||
| py{38,39,310,dev}-test{,-image,-recdeps,-alldeps,-oldestdeps,-devdeps,-devinfra,-predeps,-numpy118,-numpy119,-numpy120,-numpy121,-mpl311}{,-cov}{,-clocale} | ||
| py{38,39,310,311,dev}-test{,-image,-recdeps,-alldeps,-oldestdeps,-devdeps,-devinfra,-predeps,-numpy118,-numpy119,-numpy120,-numpy121,-mpl311}{,-cov}{,-clocale} | ||
| build_docs | ||
| linkcheck | ||
| codestyle | ||
|
|
@@ -28,6 +28,7 @@ setenv = | |
| !image: MPLFLAGS = | ||
| clocale: LC_CTYPE = C.ascii | ||
| clocale: LC_ALL = C | ||
| devdeps: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/scipy-wheels-nightly/simple | ||
|
|
||
| # Run the tests in a temporary directory to make sure that we don't import | ||
| # astropy from the source tree | ||
|
|
@@ -87,7 +88,9 @@ deps = | |
| # The devdeps factor is intended to be used to install the latest developer version | ||
| # or nightly wheel of key dependencies. | ||
| # Do not install asdf-astropy so we can test astropy.io.misc.asdf until we remove it. | ||
| devdeps,mpldev: git+https://github.com/matplotlib/matplotlib.git#egg=matplotlib | ||
| devdeps: scipy>=0.0.dev0 | ||
| devdeps: numpy>=0.0.dev0 | ||
| devdeps,mpldev: matplotlib>=0.0.dev0 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Cadair , this picked up matplotlib 3.6.0rc2 , not a dev version. Is this supposed to happen?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hmmm where?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. https://github.com/astropy/astropy/actions/runs/3053254195/jobs/4923644273 (the job on main after merging this) |
||
| devdeps: git+https://github.com/asdf-format/asdf.git#egg=asdf | ||
| devdeps: git+https://github.com/liberfa/pyerfa.git#egg=pyerfa | ||
|
|
||
|
|
@@ -112,8 +115,6 @@ extras = | |
| alldeps: test_all | ||
|
|
||
| commands = | ||
| devdeps: pip install -U --pre --only-binary :all: -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy | ||
| devdeps: pip install -U --pre --only-binary :all: -i https://pypi.anaconda.org/scipy-wheels-nightly/simple scipy | ||
| pip freeze | ||
| !cov-!double: pytest --pyargs astropy {toxinidir}/docs {env:MPLFLAGS} {posargs} | ||
| cov-!double: pytest --pyargs astropy {toxinidir}/docs {env:MPLFLAGS} --cov astropy --cov-config={toxinidir}/pyproject.toml {posargs} | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.