René's URL Explorer Experiment


Title: `python:3.11.5-slim` seems to break poetry installation · Issue #862 · docker-library/python · GitHub

Open Graph Title: `python:3.11.5-slim` seems to break poetry installation · Issue #862 · docker-library/python

X Title: `python:3.11.5-slim` seems to break poetry installation · Issue #862 · docker-library/python

Description: I noticed today that our CI if failing to install poetry. I could isolate the issue being related to the python:3.11.5-slim image: Working Example: 3114.Dockerfile FROM python:3.11.4-slim RUN apt-get upgrade && apt-get update && apt-get ...

Open Graph Description: I noticed today that our CI if failing to install poetry. I could isolate the issue being related to the python:3.11.5-slim image: Working Example: 3114.Dockerfile FROM python:3.11.4-slim RUN apt-g...

X Description: I noticed today that our CI if failing to install poetry. I could isolate the issue being related to the python:3.11.5-slim image: Working Example: 3114.Dockerfile FROM python:3.11.4-slim RUN apt-g...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`python:3.11.5-slim` seems to break poetry installation","articleBody":"I noticed today that our CI if failing to install `poetry`. I could isolate the issue being related to the `python:3.11.5-slim` image:\r\n\r\n## Working Example: `3114.Dockerfile`\r\n\r\n```Dockerfile\r\nFROM python:3.11.4-slim\r\n\r\nRUN apt-get upgrade \u0026\u0026 apt-get update \u0026\u0026 apt-get install -y curl python3-dev libpq-dev gcc\r\n# Install Poetry\r\nENV POETRY_NO_INTERACTION=1 \\\r\n    POETRY_VIRTUALENVS_IN_PROJECT=1 \\\r\n    POETRY_VIRTUALENVS_CREATE=1 \\\r\n    POETRY_VERSION=1.6.1\r\nRUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry python -\r\n```\r\n\r\n```shell\r\ndocker build . -f 3114.Dockerfile\r\n```\r\n\r\n```\r\n[+] Building 15.7s (7/7) FINISHED                                                                                                                                                                                                                  \r\n =\u003e [internal] load build definition from 3114.Dockerfile                                                                                                                                                                                     0.0s\r\n =\u003e =\u003e transferring dockerfile: 423B                                                                                                                                                                                                          0.0s\r\n =\u003e [internal] load .dockerignore                                                                                                                                                                                                             0.0s\r\n =\u003e =\u003e transferring context: 72B                                                                                                                                                                                                              0.0s\r\n =\u003e [internal] load metadata for docker.io/library/python:3.11.4-slim                                                                                                                                                                         1.3s\r\n =\u003e [1/3] FROM docker.io/library/python:3.11.4-slim@sha256:17d62d681d9ecef20aae6c6605e9cf83b0ba3dc247013e2f43e1b5a045ad4901                                                                                                                   0.0s\r\n =\u003e CACHED [2/3] RUN apt-get upgrade \u0026\u0026 apt-get update \u0026\u0026 apt-get install -y curl python3-dev libpq-dev gcc                                                                                                                                   0.0s\r\n =\u003e [3/3] RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry python -                                                                                                                                                 13.8s\r\n =\u003e exporting to image                                                                                                                                                                                                                        0.5s\r\n =\u003e =\u003e exporting layers                                                                                                                                                                                                                       0.5s\r\n =\u003e =\u003e writing image sha256:059ed17a0f156ad39fb26611741d6c464399b6b4191ac8e1d6e66accee639041              \r\n```\r\n\r\n## Breaking Example: `3115.Dockerfile`\r\n\r\n```Dockerfile\r\nFROM python:3.11.5-slim\r\n\r\nRUN apt-get upgrade \u0026\u0026 apt-get update \u0026\u0026 apt-get install -y curl python3-dev libpq-dev gcc\r\n# Install Poetry\r\nENV POETRY_NO_INTERACTION=1 \\\r\n    POETRY_VIRTUALENVS_IN_PROJECT=1 \\\r\n    POETRY_VIRTUALENVS_CREATE=1 \\\r\n    POETRY_VERSION=1.6.1\r\nRUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry python -\r\n```\r\n\r\n```shell\r\ndocker build . -f 3115.Dockerfile\r\n```\r\n\r\n```\r\n[+] Building 19.8s (6/6) FINISHED                                                                                                                                                                                                                  \r\n =\u003e [internal] load build definition from 3115.Dockerfile                                                                                                                                                                                     0.0s\r\n =\u003e =\u003e transferring dockerfile: 423B                                                                                                                                                                                                          0.0s\r\n =\u003e [internal] load .dockerignore                                                                                                                                                                                                             0.0s\r\n =\u003e =\u003e transferring context: 72B                                                                                                                                                                                                              0.0s\r\n =\u003e [internal] load metadata for docker.io/library/python:3.11.5-slim                                                                                                                                                                         0.7s\r\n =\u003e [1/3] FROM docker.io/library/python:3.11.5-slim@sha256:c4992301d47a4f1d3e73c034494c080132f9a4090703babfcfa3317f7ba54461                                                                                                                   0.0s\r\n =\u003e CACHED [2/3] RUN apt-get upgrade \u0026\u0026 apt-get update \u0026\u0026 apt-get install -y curl python3-dev libpq-dev gcc                                                                                                                                   0.0s\r\n =\u003e ERROR [3/3] RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry python -                                                                                                                                           19.0s\r\n------                                                                                                                                                                                                                                             \r\n \u003e [3/3] RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry python -:                                                                                                                                                       \r\n#0 18.95 Retrieving Poetry metadata                                                                                                                                                                                                                \r\n#0 18.95                                                                                                                                                                                                                                           \r\n#0 18.95 # Welcome to Poetry!                                                                                                                                                                                                                      \r\n#0 18.95                                                                                                                                                                                                                                           \r\n#0 18.95 This will download and install the latest version of Poetry,\r\n#0 18.95 a dependency and package manager for Python.\r\n#0 18.95 \r\n#0 18.95 It will add the `poetry` command to Poetry's bin directory, located at:\r\n#0 18.95 \r\n#0 18.95 /opt/poetry/bin\r\n#0 18.95 \r\n#0 18.95 You can uninstall at any time by executing this script with the --uninstall option,\r\n#0 18.95 and these changes will be reverted.\r\n#0 18.95 \r\n#0 18.95 Installing Poetry (1.6.1)\r\n#0 18.95 Installing Poetry (1.6.1): Creating environment\r\n#0 18.95 Installing Poetry (1.6.1): Installing Poetry\r\n#0 18.95 Installing Poetry (1.6.1): An error occurred. Removing partial environment.\r\n#0 18.95 Poetry installation failed.\r\n#0 18.95 See /poetry-installer-error-4uad51ii.log for error logs.\r\n------\r\nERROR: failed to solve: executor failed running [/bin/sh -c curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry python -]: exit code: 1\r\n\r\n```\r\n\r\nError Log:\r\n\r\n```\r\nWARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.\r\nWARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(\"Can't connect to HTTPS URL because the SSL module is not available.\")': /simple/poetry/\r\nWARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(\"Can't connect to HTTPS URL because the SSL module is not available.\")': /simple/poetry/\r\nWARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(\"Can't connect to HTTPS URL because the SSL module is not available.\")': /simple/poetry/\r\nWARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(\"Can't connect to HTTPS URL because the SSL module is not available.\")': /simple/poetry/\r\nWARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(\"Can't connect to HTTPS URL because the SSL module is not available.\")': /simple/poetry/\r\nCould not fetch URL https://pypi.org/simple/poetry/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/poetry/ (Caused by SSLError(\"Can't connect to HTTPS URL because the SSL module is not available.\")) - skipping\r\nERROR: Could not find a version that satisfies the requirement poetry==1.6.1 (from versions: none)\r\nERROR: No matching distribution found for poetry==1.6.1\r\nWARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.\r\nCould not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(\"Can't connect to HTTPS URL because the SSL module is not available.\")) - skipping\r\n\r\nTraceback:\r\n\r\n  File \"\u003cstdin\u003e\", line 923, in main\r\n  File \"\u003cstdin\u003e\", line 560, in run\r\n  File \"\u003cstdin\u003e\", line 582, in install\r\n  File \"\u003cstdin\u003e\", line 685, in install_poetry\r\n  File \"\u003cstdin\u003e\", line 375, in pip\r\n  File \"\u003cstdin\u003e\", line 372, in python\r\n  File \"\u003cstdin\u003e\", line 365, in run\r\n```\r\n\r\n## My Environment\r\nOperating System: MacOS Ventura 13.4.1 (c) (22F770820d)\r\nCPU: Apple M1 Pro\r\n\r\nDocker: 4.17.0 (99724)\r\n\r\n## Temporary solution\r\n\r\nPin image version to `python:3.11.4-slim`","author":{"url":"https://github.com/flxdot","@type":"Person","name":"flxdot"},"datePublished":"2023-08-29T08:36:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/862/python/issues/862"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:05ce4fac-1500-66bb-3c4c-c8ddfab0a01b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDA6A:14541C:2DDBA28:4175851:6A590A96
html-safe-nonce3c9953174efa742ed1ddc67c8878cc12a3bed3952f09b489fde9c65db69f8217
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTZBOjE0NTQxQzoyRERCQTI4OjQxNzU4NTE6NkE1OTBBOTYiLCJ2aXNpdG9yX2lkIjoiNTgwMTEyMjA0ODI3ODg1ODM5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace68cfbf0ddb501e31767721eba5011986fc982f74c9bb918b2ec814d0f64c376
hovercard-subject-tagissue:1871170168
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/862/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b2b064b6a7982d425350aa7b3b6f3bd8ec541452e4439fd74ae3f86db5edb89b/docker-library/python/issues/862
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b2b064b6a7982d425350aa7b3b6f3bd8ec541452e4439fd74ae3f86db5edb89b/docker-library/python/issues/862
og:image:altI noticed today that our CI if failing to install poetry. I could isolate the issue being related to the python:3.11.5-slim image: Working Example: 3114.Dockerfile FROM python:3.11.4-slim RUN apt-g...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameflxdot
hostnamegithub.com
expected-hostnamegithub.com
None4eb8ea312922ccce63e833964f9606d971cffb2d5b6c10a62c4a7dcc48d826e2
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
release886a6c6fbce3d3caad5b3b995ef09ff6ca23f10e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/docker-library/python/issues/862#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdocker-library%2Fpython%2Fissues%2F862
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%2F862
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/862
Reloadhttps://github.com/docker-library/python/issues/862
Reloadhttps://github.com/docker-library/python/issues/862
Please reload this pagehttps://github.com/docker-library/python/issues/862
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
python:3.11.5-slim seems to break poetry installationhttps://github.com/docker-library/python/issues/862#top
https://github.com/flxdot
flxdothttps://github.com/flxdot
on Aug 29, 2023https://github.com/docker-library/python/issues/862#issue-1871170168
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.