-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update Python dependencies #269
Comments
Thanks for letting us know.
"all kinds of errors" is not exactly an actionable bug report. ;)
The CI builds succeed on 3.8 and 3.11. I haven't tested other versions yet.
That's for
We're only using Pillow for file format detection (
My goal is to
The Ruff task has already started. The others will follow after that. But we should do this one step after the other, or else the merges will be a world of pain. I'm planning to do all of that in the next couple of weeks, but I'm afraid that it's not work that can be split among multiple people easily. |
Done in #247.
Done in #282.
Done in #283.
In Progress in #284. Once those are all done, I'll tackle security updates. |
We now support Python 3.13 as well, #284 is done. It's gonna take me a day or two until I can get back to the security stuff. Also, switching to uv means that Dependabot stopped working; it self-closed all of its pip-based alerts once we no longer had a |
|
$ uv run --with pip-audit pip-audit -s osv
Found 16 known vulnerabilities in 10 packages
Name Version ID Fix Versions
---------------- --------- ------------------- -------------
certifi 2022.9.24 PYSEC-2022-42986 2022.12.7
certifi 2022.9.24 PYSEC-2023-135 2023.7.22
certifi 2022.9.24 GHSA-248v-346w-9cwc 2024.7.4
fastapi 0.95.1 PYSEC-2024-38 0.109.1
idna 3.4 PYSEC-2024-60 3.7
jinja2 3.1.2 GHSA-h5c8-rqwp-cp95 3.1.3
jinja2 3.1.2 GHSA-h75v-3vvj-5mfj 3.1.4
pygments 2.14.0 PYSEC-2023-117 2.15.1
python-multipart 0.0.7 GHSA-59g5-xgcq-4qw3 0.0.18
requests 2.31.0 GHSA-9wx4-h78v-vm56 2.32.0
starlette 0.26.1 PYSEC-2023-83 0.27.0
starlette 0.26.1 GHSA-f96h-pmfr-66vw 0.40.0
urllib3 1.26.12 PYSEC-2023-192 1.26.17,2.0.6
urllib3 1.26.12 PYSEC-2023-212 1.26.18,2.0.7
urllib3 1.26.12 GHSA-34jh-p97f-mpxf 2.2.2
zipp 3.15.0 GHSA-jfmj-5v4g-7637 3.19.1 Starting to work on these now. |
$ uv run --with pip-audit pip-audit -s osv
No known vulnerabilities found 😎 |
I've tried to install DearMEP on a newish Linux machine and I got all kinds of C++ compiler errors when using Poetry.
In order to keep things simple and clean, I used the official
docker.io/library/python
image as a starting point.There have been some changes in the world of Python packaging and various packages fail to compile when using the current
poetry.lock
file. I set the required Python version to3.13
and I ranpoetry update
to get newer packages. I also had to install the debian packagegraphviz-dev
for some header files. After that I could runpoetry install --all-extras
. I also needed to update the python packagepillow
to version11
from version9.5
because of C++ compiler errors (this might be a breaking change).Long story short: I think it would be good to update the Python dependencies in
poetry.lock
and also set the Python version to a higher number than^3.8
. Is there something that speaks agains that? Debian bookworm is currently at python3.11
.The text was updated successfully, but these errors were encountered: