-
Notifications
You must be signed in to change notification settings - Fork 58
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
Clean up test dependencies, add python 3.12 testing #1633
Conversation
b1a2d86
to
9b40805
Compare
@@ -119,23 +118,6 @@ def test_atomic_write(tmp_path, small_tree): | |||
ff.write_to(tmpfile) | |||
|
|||
|
|||
def test_overwrite(tmp_path): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The issue mentioned for this test:
#100
describes that it was added to try and replicate an issue on windows. The test did not replicate the issue: #302 (comment)
yet the test was left in place.
8304a7c
to
740b7b4
Compare
a308eb4
to
cc66fbf
Compare
7404ae3
to
e1ce3f7
Compare
928f1ae
to
2992645
Compare
asdf/_tests/test_generic_io.py
Outdated
@@ -394,7 +393,7 @@ def test_invalid_obj(tmp_path): | |||
|
|||
|
|||
def test_nonseekable_file(tmp_path): | |||
base = io.IOBase | |||
base = io.FileIO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure why IOBase
wasn't failing with 3.12.rc1 but it fails with 3.12.dev. I don't see any description of this change in the release notes or PRs. My suspicion is the use of IOBase
here was working in part because of a bug that is fixed in 3.12 (as providing a filename to IOBase.__init__
doesn't really make sense so I could see how this could be fixed as bug during related io
cleanup).
e5e8b35
to
bfd4401
Compare
stdatamodels CI failing due to crds context update. This should (at least partially) be addressed in: spacetelescope/stdatamodels#219 |
bfd4401
to
5e6ac1b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
Now if only RTD would keep up with what appears to be a caffeinated Slavich. |
5e6ac1b
to
ae2132d
Compare
After #1594 is sorted (which at the moment removes the gwcs test dependency) this PR can be finished and brought out of draft.EDIT: based off changes in #1650 which fixes 1 test for python 3.12.The changes in this PR clean up the
test
dependencies. Some likely targets are:This also adds 3.12 testing which will currently fail because of aiohttp (required by fsspec). See #1651 for results with fsspec removed as a test dependency.
This also re-adds pyyaml to devdeps testing as the cython issues appear to be addressed:
Fixes: #1607