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

Add support to python 3.11 #1080

Draft
wants to merge 21 commits into
base: main
Choose a base branch
from
Draft

Conversation

thinkall
Copy link
Collaborator

Why are these changes needed?

Verify and add support to python 3.11

Related issue number

Closes #1079

Checks

@thinkall
Copy link
Collaborator Author

Issues:

ERROR: Cannot install FLAML, flaml[test]==2.0.0rc2 and transformers[torch]==4.26.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    flaml[test] 2.0.0rc2 depends on torch; extra == "test"
    transformers[torch] 4.26.0 depends on torch!=1.12.0 and >=1.7; extra == "torch"
    pytorch-forecasting 0.10.1 depends on torch<2.0 and >=1.7
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
    flaml[test] 2.0.0rc2 depends on torch; extra == "test"
    transformers[torch] 4.26.0 depends on torch!=1.12.0 and >=1.7; extra == "torch"
    pytorch-forecasting 0.10.0 depends on torch<2.0 and >=1.7
    flaml[test] 2.0.0rc2 depends on torch; extra == "test"
    transformers[torch] 4.26.0 depends on torch!=1.12.0 and >=1.7; extra == "torch"
    pytorch-forecasting 0.9.2 depends on torch<2.0 and >=1.7
    flaml[test] 2.0.0rc2 depends on torch; extra == "test"
    transformers[torch] 4.26.0 depends on torch!=1.12.0 and >=1.7; extra == "torch"
    pytorch-forecasting 0.9.1 depends on torch<2.0 and >=1.7
    flaml[test] 2.0.0rc2 depends on torch; extra == "test"
    transformers[torch] 4.26.0 depends on torch!=1.12.0 and >=1.7; extra == "torch"
    pytorch-forecasting 0.9.0 depends on torch<2.0 and >=1.7

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

@thinkall
Copy link
Collaborator Author

@thinkall thinkall marked this pull request as draft June 15, 2023 01:37
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.

Time to update the supported python versions?
1 participant