* [ISSUE] Update to Python 3.9 appears to break multiple python packages in a Docker Container
@ 2020-10-14 18:41 Frick-David
2020-10-14 19:26 ` ahesford
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Frick-David @ 2020-10-14 18:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 341 bytes --]
New issue by Frick-David on void-packages repository
https://github.com/void-linux/void-packages/issues/25606
Description:
-- Docker Container
-- Python 3.9 no longer byte compiles C-linked Python libraries such as `numpy` or `pandas` successfully.
-- I am hoping that a hold on Python in the container will work until 3.9 works again
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Update to Python 3.9 appears to break multiple python packages in a Docker Container
2020-10-14 18:41 [ISSUE] Update to Python 3.9 appears to break multiple python packages in a Docker Container Frick-David
@ 2020-10-14 19:26 ` ahesford
2020-10-14 19:51 ` ahesford
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: ahesford @ 2020-10-14 19:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 843 bytes --]
New comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/issues/25606#issuecomment-708612373
Comment:
I already have numpy and pandas installed, but reconfiguring shows successful byte compilation:
```
# xbps-reconfigure -f python3-numpy
python3-numpy: configuring ...
Byte-compiling python3.9 code for module numpy...
Updating ldconfig(8) cache...
python3-numpy: configured successfully.
# xbps-reconfigure -f python3-pandas
python3-pandas: configuring ...
Byte-compiling python3.9 code for module pandas...
Updating ldconfig(8) cache...
python3-pandas: configured successfully.
```
Similarly, I can install `python3-Flask-SQLAlchemy` and see no errors about byte-compiling that package or any of its dependencies. Did you upgrade all of the `python3-*` packages alongside `python3`?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Update to Python 3.9 appears to break multiple python packages in a Docker Container
2020-10-14 18:41 [ISSUE] Update to Python 3.9 appears to break multiple python packages in a Docker Container Frick-David
2020-10-14 19:26 ` ahesford
@ 2020-10-14 19:51 ` ahesford
2020-11-05 14:15 ` ahesford
2020-11-30 3:16 ` Frick-David
3 siblings, 0 replies; 5+ messages in thread
From: ahesford @ 2020-10-14 19:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 391 bytes --]
New comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/issues/25606#issuecomment-708624365
Comment:
FYI, [this Dockerfile](https://github.com/void-linux/void-packages/files/5380526/Dockerfile.txt) builds an image with byte-compiled Python packages. Do you have some cached layer that is causing problems? Try building your image with `--no-cache`.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Update to Python 3.9 appears to break multiple python packages in a Docker Container
2020-10-14 18:41 [ISSUE] Update to Python 3.9 appears to break multiple python packages in a Docker Container Frick-David
2020-10-14 19:26 ` ahesford
2020-10-14 19:51 ` ahesford
@ 2020-11-05 14:15 ` ahesford
2020-11-30 3:16 ` Frick-David
3 siblings, 0 replies; 5+ messages in thread
From: ahesford @ 2020-11-05 14:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 195 bytes --]
New comment by ahesford on void-packages repository
https://github.com/void-linux/void-packages/issues/25606#issuecomment-722404660
Comment:
Ping; have you uncovered any more about your issue?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Update to Python 3.9 appears to break multiple python packages in a Docker Container
2020-10-14 18:41 [ISSUE] Update to Python 3.9 appears to break multiple python packages in a Docker Container Frick-David
` (2 preceding siblings ...)
2020-11-05 14:15 ` ahesford
@ 2020-11-30 3:16 ` Frick-David
3 siblings, 0 replies; 5+ messages in thread
From: Frick-David @ 2020-11-30 3:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 412 bytes --]
New comment by Frick-David on void-packages repository
https://github.com/void-linux/void-packages/issues/25606#issuecomment-735520816
Comment:
@ahesford what you wrote seemed to fix the error . I was not using the python containers as those are based on Debian, not void. I do believe it much have been something in Docker's caching. Thanks for pointing that out. You were correct to close the issue. Thanks!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-11-30 3:16 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-14 18:41 [ISSUE] Update to Python 3.9 appears to break multiple python packages in a Docker Container Frick-David
2020-10-14 19:26 ` ahesford
2020-10-14 19:51 ` ahesford
2020-11-05 14:15 ` ahesford
2020-11-30 3:16 ` Frick-David
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).