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

Python 3.13 launch issues #37

Open
jsbrittain opened this issue Oct 9, 2024 · 4 comments · May be fixed by #44
Open

Python 3.13 launch issues #37

jsbrittain opened this issue Oct 9, 2024 · 4 comments · May be fixed by #44
Assignees

Comments

@jsbrittain
Copy link
Collaborator

jsbrittain commented Oct 9, 2024

Python 3.13 compatibility issues:

  1. pyarrow does not build binaries for the platform (https://github.com/apache/arrow/issues/ 43519); because of this InsightBoard is taking a long time to install as it needs to build the binaries, and this appears to have caused an installation to fail on another machine (no logs available) where developer tools were likely not available. The pyarrow issue linked above states that v18 binaries for py3.13 are imminent and should resolve the problem.

  2. Attempting to parse a file in 3.13 produces the error: cannot inherit frozen dataclass from a non-frozen one. This is actually not due to InsightBoard, but due to the adtl parser importing pint, which is not 3.13 compliant yet (see Import error with Python 3.13 adtl#97).

@jsbrittain
Copy link
Collaborator Author

jsbrittain commented Oct 9, 2024

Note: We are currently only testing 3.12 in CI. Adopting nox and testing across 3.11 (min supported version) and 3.13 (currently release) would be recommended.

edit: done in #43

@jsbrittain
Copy link
Collaborator Author

jsbrittain commented Oct 9, 2024

Further observation: Testing in 3.13 produces: There was an error processing the file: cannot inherit frozen dataclass from a non-frozen one when attempting to parse a data file. As a result InsightBoard does not currently support python 3.13.

update: this is due to adtl importing pint, which is not 3.13 compliant yet, see globaldothealth/adtl#97

@jsbrittain
Copy link
Collaborator Author

jsbrittain commented Oct 9, 2024

Python 3.13 tests fail in CI, see https://github.com/globaldothealth/InsightBoard/actions/runs/11261412066/job/31314794050?pr=44 in PR #44 as they cannot build pyarrow

@jsbrittain jsbrittain linked a pull request Oct 9, 2024 that will close this issue
@jsbrittain
Copy link
Collaborator Author

Added version compatiblity badges to alert the user while this issue is being resolved #47

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

Successfully merging a pull request may close this issue.

1 participant