Skip to content
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

crds issues warning on python 3.12 due to ast.Str deprecation #1000

Open
braingram opened this issue Oct 26, 2023 · 0 comments
Open

crds issues warning on python 3.12 due to ast.Str deprecation #1000

braingram opened this issue Oct 26, 2023 · 0 comments

Comments

@braingram
Copy link
Contributor

The following warning was seen in a python 3.12 test run in stdatamodels:
https://github.com/spacetelescope/stdatamodels/actions/runs/6611014333/job/18095432388

E               crds.core.exceptions.MappingError: Can't load file jwst_nirspec_apcorr_0009.rmap : ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead

Possibly due to usage here:

self.assert_(node, isinstance(node.value, (ast.Call, ast.Dict, ast.Str)),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant