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

Compatibility issue with old 0.9 version #374

Closed
me21 opened this issue Feb 13, 2023 · 11 comments
Closed

Compatibility issue with old 0.9 version #374

me21 opened this issue Feb 13, 2023 · 11 comments
Assignees
Labels
enhancement New feature or request

Comments

@me21
Copy link
Contributor

me21 commented Feb 13, 2023

Version 0.9.26 of NiceGUI requires cryptography==38.0.3, however, on Debian Buster (oldstable) there's only 37.0.4. I know 38.0.2 had regression in openSSL, but could 37.0.4 also be allowed? Or it's not simply done?

@falkoschindler
Copy link
Contributor

See PR #375.

@rodja
Copy link
Member

rodja commented Feb 16, 2023

I'll prepare a new release soon.

@falkoschindler falkoschindler added the enhancement New feature or request label Feb 16, 2023
@rodja
Copy link
Member

rodja commented Feb 18, 2023

I just published v0.9.27.

@rodja rodja closed this as completed Feb 18, 2023
@rodja rodja reopened this Feb 18, 2023
@rodja
Copy link
Member

rodja commented Feb 18, 2023

@me21 I just tested installing the 0.9.27 in a clean environment with this command:

docker run --rm -it python:3.11 pip install nicegui==0.9.27

But that fails with the error

ERROR: Cannot install nicegui==0.9.27 because these package versions have conflicting dependencies.

Do you have an idea on how to resolve this?

@rodja
Copy link
Member

rodja commented Feb 18, 2023

Installation with Python 3.7 works fine, by the way.

docker run --rm -it python:3.7 pip install nicegui==0.9.27

@me21
Copy link
Contributor Author

me21 commented Feb 18, 2023

Do you have an idea on how to resolve this?

Which dependencies are conflicting? I'll try installing it on my end.

@rodja
Copy link
Member

rodja commented Feb 18, 2023

The conflict is caused by:
    nicegui 0.9.27 depends on cryptography<38.0.0 and >=37.0.4; python_version ~= "3.7"
    nicegui 0.9.27 depends on cryptography<39.0.0 and >=38.0.3; python_version ~= "3.11.0"

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

@me21
Copy link
Contributor Author

me21 commented Feb 20, 2023

Please try #410.

@rodja
Copy link
Member

rodja commented Feb 21, 2023

Thanks for the new pull request. v0.9.28 is working.

@rodja rodja closed this as completed Feb 21, 2023
@falkoschindler
Copy link
Contributor

What about the GitHub action being red?
https://github.com/zauberzeug/nicegui/actions/runs/4224756571

@me21
Copy link
Contributor Author

me21 commented Feb 21, 2023

It seems to be an exception inside matplotlib package, likely not related to the change. A similar issue - enthought/mayavi#1000 - turned out to be a bug in some package due to not listing a dependency?..
If matplotlib uses importlib_resources, it should depend on it. Does it?..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants