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 2 compatibility? #594

Closed
pcschneider opened this issue Sep 11, 2023 · 1 comment
Closed

python 2 compatibility? #594

pcschneider opened this issue Sep 11, 2023 · 1 comment

Comments

@pcschneider
Copy link

Dear HSTCAL-Team,

wscript uses the 'exist_ok'-option of os.makedirs (see link below), but this was introduced only in python version 3.2, and the source installation fails if '#!/usr/bin/env python' executes python with version < 3.2; at least for me and probably generally.

I think that '#!/usr/bin/env python3' together with requiring python >=3.2 would eliminate the issue.

Cheers,
Christian

https://github.com/spacetelescope/hstcal/blame/fc603b22a4fc3cc20570def74ee82ffc08fd5f62/wscript#L255

@pllim
Copy link
Contributor

pllim commented Feb 22, 2024

We just merged #412 so we no longer uses Python to build C code. I do not think this is relevant anymore. Thanks for your patience!

@pllim pllim closed this as not planned Won't fix, can't repro, duplicate, stale Feb 22, 2024
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

2 participants