René's URL Explorer Experiment


Title: Python images (At least bookwork-slim) relased today break installation of sdist packages · Issue #1023 · docker-library/python · GitHub

Open Graph Title: Python images (At least bookwork-slim) relased today break installation of sdist packages · Issue #1023 · docker-library/python

X Title: Python images (At least bookwork-slim) relased today break installation of sdist packages · Issue #1023 · docker-library/python

Description: Following the discussion her pypa/wheel#660 (comment) - images relesed today started to break CI - Airflow, but also other people have similar issue. I explained it in the issue but let me copy it here as well: Example failure: https://g...

Open Graph Description: Following the discussion her pypa/wheel#660 (comment) - images relesed today started to break CI - Airflow, but also other people have similar issue. I explained it in the issue but let me copy it ...

X Description: Following the discussion her pypa/wheel#660 (comment) - images relesed today started to break CI - Airflow, but also other people have similar issue. I explained it in the issue but let me copy it ...

Opengraph URL: https://github.com/docker-library/python/issues/1023

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Python images (At least bookwork-slim) relased today break installation of sdist packages","articleBody":"Following the discussion her https://github.com/pypa/wheel/issues/660#issuecomment-2788333871 - images relesed today started to break CI - Airflow, but also other people have similar issue.\n\nI explained it in the issue but let me copy it here as well:\n\nExample failure: https://github.com/apache/airflow/actions/runs/14347343802/job/40220981486#step:6:809 \n\n```\n6 13.37 Building wheels for collected packages: pyspark\ndocker-library/official-images#6 13.37   Building wheel for pyspark (setup.py): started\ndocker-library/official-images#6 14.11   Building wheel for pyspark (setup.py): finished with status 'error'\ndocker-library/official-images#6 14.11   error: subprocess-exited-with-error\ndocker-library/official-images#6 14.11   \ndocker-library/official-images#6 14.11   × python setup.py bdist_wheel did not run successfully.\ndocker-library/official-images#6 14.11   │ exit code: 1\ndocker-library/official-images#6 14.11   ╰─\u003e [8 lines of output]\ndocker-library/official-images#6 14.11       /home/airflow/.local/lib/python3.9/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead\ndocker-library/official-images#6 14.11         warnings.warn(\ndocker-library/official-images#6 14.11       usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]\ndocker-library/official-images#6 14.11          or: setup.py --help [cmd1 cmd2 ...]\ndocker-library/official-images#6 14.11          or: setup.py --help-commands\ndocker-library/official-images#6 14.11          or: setup.py cmd --help\ndocker-library/official-images#6 14.11       \ndocker-library/official-images#6 14.11       error: invalid command 'bdist_wheel'\ndocker-library/official-images#6 14.11       [end of output]\ndocker-library/official-images#6 14.11   \ndocker-library/official-images#6 14.11   note: This error originates from a subprocess, and is likely not a problem with pip.\ndocker-library/official-images#6 14.11   ERROR: Failed building wheel for pyspark\ndocker-library/official-images#6 14.12   Running setup.py clean for pyspark\n```\n\nAnd after some (non-obvious investigation I found out what the root cause is and that's somethign you might want to talk to the maintainers of official Python images in dockerhub, because probably a lot of people using them will have similar issue after 0.46+ wheel that does not contain bdist_wheel any more and rely on setuptools \u003e 70.1.\n\nThe problem is that some -  latest - official python images available in dockerhub are causing this problem to happen.\n\nIf you look - for example - at latest Python debian bookworm slim images you will see this:\n\n```\n[jarek:~/code/airflow] main ± docker run -it python:3.9-slim-bookworm bash\nroot@fb321ef4723e:/# pip list\nPackage    Version\n---------- -------\npip        23.0.1\nsetuptools 58.1.0\nwheel      0.45.1\n\n[notice] A new release of pip is available: 23.0.1 -\u003e 25.0.1\n[notice] To update, run: pip install --upgrade pip\nroot@fb321ef4723e:/# exit\nexit\n[jarek:~/code/airflow] main 14s ± docker run -it python:3.10-slim-bookworm bash \nroot@2234dee7aba0:/# pip list\nPackage    Version\n---------- -------\npackaging  24.2\npip        23.0.1\nsetuptools 65.5.1\nwheel      0.46.1\n\n[notice] A new release of pip is available: 23.0.1 -\u003e 25.0.1\n[notice] To update, run: pip install --upgrade pip\nroot@2234dee7aba0:/# exit\nexit\n[jarek:~/code/airflow] main 25s ± docker run -it python:3.11-slim-bookworm bash\nroot@b62343d129a6:/# pip list\nPackage    Version\n---------- -------\npackaging  24.2\npip        24.0\nsetuptools 65.5.1\nwheel      0.46.1\n\n[jarek:~/code/airflow] main 1m5s ± docker run -it python:3.12-slim-bookworm bash\nroot@411574e67a7e:/# pip list\nPackage Version\n------- -------\npip     25.0.1\nroot@411574e67a7e:/# \n```\n\n\nAs you can see - default version of setuptools in all those images causes problem:\n\n* Python 3.9 -\u003e both wheel and setuptools are old, but if you **just** upgrade wheel but do not upgrade setuptools, sdist installations will fail\n* Python 3.10, 3.11 -\u003e wheel is already updated, but setuptools is \u003c 70.1 - which mean that by default installing somethign from sdist wil fail there - even if you do not touch setuptools and wheel\n* Python 3.12 -\u003e all good, no setuptools, no wheel, newest versions of those will be installed\n\nI am going to upgrade setuptools and wheels to latest versions in our images, so we will solve the problem in Airflow, but I think currently released \"official images\" need to be rebuild and latest setuptools should be installed in all of them.\n\n\n\n\n\n\n\n\n\n","author":{"url":"https://github.com/potiuk","@type":"Person","name":"potiuk"},"datePublished":"2025-04-09T06:43:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":21},"url":"https://github.com/1023/python/issues/1023"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0b7896cf-f070-24aa-9d59-58bc9c4c3f61
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAF1A:29B0B8:21EC89F:30FC956:6A58E6F7
html-safe-noncea313727c00df3c834284ce3f651e4439665af799a0c66085f51479e8a83b2a42
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjFBOjI5QjBCODoyMUVDODlGOjMwRkM5NTY6NkE1OEU2RjciLCJ2aXNpdG9yX2lkIjoiNzQ4MTkyNjExMTk0NzQ1MDEwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd620a2f889109dea9853dbb893e29ce32d24050f332eb5b7e23179d542b1afa8
hovercard-subject-tagissue:2983303532
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/docker-library/python/1023/issue_layout
twitter:imagehttps://opengraph.githubassets.com/eac37bb424086c9295ee92dbba7e7202b85ca7bbac78cf69e2c1cb296fa7026e/docker-library/python/issues/1023
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/eac37bb424086c9295ee92dbba7e7202b85ca7bbac78cf69e2c1cb296fa7026e/docker-library/python/issues/1023
og:image:altFollowing the discussion her pypa/wheel#660 (comment) - images relesed today started to break CI - Airflow, but also other people have similar issue. I explained it in the issue but let me copy it ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepotiuk
hostnamegithub.com
expected-hostnamegithub.com
None5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6
turbo-cache-controlno-preview
go-importgithub.com/docker-library/python git https://github.com/docker-library/python.git
octolytics-dimension-user_id7739233
octolytics-dimension-user_logindocker-library
octolytics-dimension-repository_id21054928
octolytics-dimension-repository_nwodocker-library/python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21054928
octolytics-dimension-repository_network_root_nwodocker-library/python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/docker-library/python/issues/1023#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocker-library%2Fpython%2Fissues%2F1023
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocker-library%2Fpython%2Fissues%2F1023
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=docker-library%2Fpython
Reloadhttps://github.com/docker-library/python/issues/1023
Reloadhttps://github.com/docker-library/python/issues/1023
Reloadhttps://github.com/docker-library/python/issues/1023
Please reload this pagehttps://github.com/docker-library/python/issues/1023
docker-library https://github.com/docker-library
pythonhttps://github.com/docker-library/python
Notifications https://github.com/login?return_to=%2Fdocker-library%2Fpython
Fork 1.1k https://github.com/login?return_to=%2Fdocker-library%2Fpython
Star 2.8k https://github.com/login?return_to=%2Fdocker-library%2Fpython
Code https://github.com/docker-library/python
Issues 27 https://github.com/docker-library/python/issues
Pull requests 5 https://github.com/docker-library/python/pulls
Discussions https://github.com/docker-library/python/discussions
Actions https://github.com/docker-library/python/actions
Projects https://github.com/docker-library/python/projects
Security and quality 0 https://github.com/docker-library/python/security
Insights https://github.com/docker-library/python/pulse
Code https://github.com/docker-library/python
Issues https://github.com/docker-library/python/issues
Pull requests https://github.com/docker-library/python/pulls
Discussions https://github.com/docker-library/python/discussions
Actions https://github.com/docker-library/python/actions
Projects https://github.com/docker-library/python/projects
Security and quality https://github.com/docker-library/python/security
Insights https://github.com/docker-library/python/pulse
#1024https://github.com/docker-library/python/pull/1024
Python images (At least bookwork-slim) relased today break installation of sdist packageshttps://github.com/docker-library/python/issues/1023#top
#1024https://github.com/docker-library/python/pull/1024
https://github.com/potiuk
potiukhttps://github.com/potiuk
on Apr 9, 2025https://github.com/docker-library/python/issues/1023#issue-2983303532
pypa/wheel#660 (comment)https://github.com/pypa/wheel/issues/660#issuecomment-2788333871
https://github.com/apache/airflow/actions/runs/14347343802/job/40220981486#step:6:809https://github.com/apache/airflow/actions/runs/14347343802/job/40220981486#step:6:809
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.