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 3.11 compatability - Dependency Pillow #116

Closed
pdb-94 opened this issue Jul 20, 2023 · 8 comments
Closed

Python 3.11 compatability - Dependency Pillow #116

pdb-94 opened this issue Jul 20, 2023 · 8 comments

Comments

@pdb-94
Copy link

pdb-94 commented Jul 20, 2023

Python 3.11 supports the following Pillow verisons: Pillow >= 9.3
readthedocs Pillow
deutschland 0.3.2 requires Pillow<9.0.0,>=8.3.1

Error message from prompt:
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
deutschland 0.3.2 requires Pillow<9.0.0,>=8.3.1, but you have pillow 9.3.0 which is incompatible.

@wirthual
Copy link
Member

Hi,

thanks for reporting. Currently the minimum supported Python version is 3.6 and thus the minimum Pillow version is <9.0

Since python 3.6 and 3.7 are end of life, it totally makes sense to bump the minimum required python version to 3.8, which should allow us to also support Pillow > 9 and would fix the error as seen above.

@KoenigMax
Copy link

I would support this bump. Our security scanner flags 4 issues with Pillow 8.4.0, which are fixed in Pillow 9.0.1.

@wirthual
Copy link
Member

wirthual commented Sep 9, 2023

Hi @KoenigMax and @pdb-94 ,
Can you have a look if these changes work for you?
#119

@KoenigMax
Copy link

Hello, I can only check this properly (as in within our corporate infrastructure), when the changes are available as a version on PyPI. Right now I can only try to install version 0.3.2 which fails because of Pillow<9.0.0.

@wirthual
Copy link
Member

Isn't it possible for you to install a local version?

E.g.
1.clone this repo
2.switch to the updated branch using git checkout
3. do a 'pip install /path/to/the/downloaded/repo/deutschland'

@KoenigMax
Copy link

Hello, thanks for the reminder. I had to resort to downloading a zip of the branch but installing that worked.

@wirthual
Copy link
Member

Great!

You can also directly install the repo with this command:

pip3 install "git+https://github.com/bundesAPI/deutschland.git@feat/drop-36-37-support"

Thank you for testing this out. Looking forward to hear how it goes.

@KoenigMax
Copy link

Hello,

no I cannot, because this usage is suppressed by our network setup. I can Install by pip only from local sources or from pypi.

But as I said, the local install worked.

Kind regards

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

3 participants