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

clp-package: Add Python __future__.annotations import to allow running with Python 3.8. #432

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

kirkrodrigues
Copy link
Member

@kirkrodrigues kirkrodrigues commented Jun 9, 2024

Description

#416 used syntax that isn't supported by Python 3.8 without the __future__.annotations import. The effect of this is that the search scheduler can't run with Python 3.8 (and all searches will seemingly freeze).

This PR adds the import.

Validation performed

  • Built and started the package in an Ubuntu Focal container
  • Compressed some data
  • Used sbin/search.sh to run a query and ensured that it didn't freeze.

@junhaoliao junhaoliao self-requested a review June 10, 2024 05:06
Copy link
Collaborator

@junhaoliao junhaoliao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Validated on WSL Ubuntu 20.04.6 LTS (Python 3.8.10).

@kirkrodrigues kirkrodrigues changed the title clp-package: Add Python __future__.annotations to allow running with Python 3.8. clp-package: Add Python __future__.annotations import to allow running with Python 3.8. Jun 10, 2024
@junhaoliao
Copy link
Collaborator

I agree with the new PR title to be used as the commit message.

@kirkrodrigues kirkrodrigues merged commit bf54480 into y-scope:main Jun 10, 2024
2 checks passed
@kirkrodrigues kirkrodrigues deleted the add-futures-annotations branch June 10, 2024 05:16
jackluo923 pushed a commit to jackluo923/clp that referenced this pull request Dec 4, 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

Successfully merging this pull request may close these issues.

2 participants