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

SNOW-898480: Upper version constraint for cloudpickle of <=2.0.0 is too restrictive for python 3.11-compatible environments #1014

Closed
boyd-openai opened this issue Aug 23, 2023 · 5 comments
Labels
bug Something isn't working needs triage Initial RCA is required

Comments

@boyd-openai
Copy link

I'm working in a repository with the upgrade_constraint cloudpickle>=2.1 as a prerequisite for python 3.11 compatibility.

To use this library, if this constraint cannot be relaxed, I'll need to either fork it, but if this library ever plans to support python 3.11, it will need to relax this constraint anyway.

  1. What version of Python are you using?

    3.9.13

  2. What operating system and processor architecture are you using?

macOS-13.5.1-arm64-arm-64bit

  1. What are the component versions in the environment (pip freeze)?
...
cloudpickle==2.0.0
...
snowflake-connector-python==3.1.0
snowflake-snowpark-python==1.6.1
...
  1. What did you do?

    If possible, provide a recipe for reproducing the error.
    A complete runnable program is good.

  2. What did you expect to see?

    Expected to be able to pip install snowflake-snowpark-python[pandas]; install failed because of unresolvable constraints.

@boyd-openai boyd-openai added bug Something isn't working needs triage Initial RCA is required labels Aug 23, 2023
@github-actions github-actions bot changed the title Upper version constraint for cloudpickle of <=2.0.0 is too restrictive for python 3.11-compatible environments SNOW-898480: Upper version constraint for cloudpickle of <=2.0.0 is too restrictive for python 3.11-compatible environments Aug 23, 2023
@boyd-openai
Copy link
Author

Running pip-compile:

Could not find a version that matches cloudpickle<=2.0.0,>=1.6.0,>=2.1 (from -c api/manage/upgrade_constraints.txt (line 72))
Tried: 0.1.0, 0.1.0, 0.1.1, 0.1.1, 0.2.1, 0.2.1, 0.2.2, 0.2.2, 0.3.0, 0.3.0, 0.3.1, 0.3.1, 0.4.0, 0.4.0, 0.4.1, 0.4.1, 0.4.2, 0.4.2, 0.4.3, 0.4.3, 0.4.4, 0.4.4, 0.5.0, 0.5.0, 0.5.1, 0.5.1, 0.5.2, 0.5.2, 0.5.3, 0.5.3, 0.5.4, 0.5.4, 0.5.5, 0.5.5, 0.5.6, 0.5.6, 0.6.0, 0.6.0, 0.6.1, 0.6.1, 0.7.0, 0.7.0, 0.8.0, 0.8.0, 0.8.1, 0.8.1, 1.0.0, 1.0.0, 1.1.1, 1.1.1, 1.2.0, 1.2.0, 1.2.1, 1.2.1, 1.2.2, 1.2.2, 1.3.0, 1.3.0, 1.4.0, 1.4.0, 1.4.1, 1.4.1, 1.5.0, 1.5.0, 1.6.0, 1.6.0, 2.0.0, 2.0.0, 2.1.0, 2.1.0, 2.2.0, 2.2.0, 2.2.1, 2.2.1
There are incompatible versions in the resolved dependencies:
  cloudpickle>=2.1 (from -c api/manage/upgrade_constraints.txt (line 72))
  cloudpickle<=2.0.0,>=1.6.0 (from snowflake-snowpark-python[pandas]==1.6.1->safety-apps (api/safety-apps/pyproject.toml))

@sfc-gh-aalam
Copy link
Contributor

@boyd-openai unfortunately this is not a simple dependency update due to how we release the client to users and to stored-procs/udfs. We are aware of this issue and are working on it to update the dependency to 2.2.1.

@boyd-openai
Copy link
Author

@sfc-gh-aalam - is there an issue tracking that to which I can subscribe?

@sfc-gh-aalam
Copy link
Contributor

The tracking is internal to snowflake but you can watch the status of this PR as a proxy to see when this is done.

@boyd-openai
Copy link
Author

Great, thank you! Happy to see you folks are already on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage Initial RCA is required
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants