René's URL Explorer Experiment


Title: Migrate to Python `3.12-bookworm` image · Issue #86 · anomaly/lab-python-server · GitHub

Open Graph Title: Migrate to Python `3.12-bookworm` image · Issue #86 · anomaly/lab-python-server

X Title: Migrate to Python `3.12-bookworm` image · Issue #86 · anomaly/lab-python-server

Description: Is your feature request related to a problem? Please describe. Python 3.12 (with Debian 12) is available on Dockerhub. We should move to using the latest version of the runtime to get the latest benefits of the language and updated opera...

Open Graph Description: Is your feature request related to a problem? Please describe. Python 3.12 (with Debian 12) is available on Dockerhub. We should move to using the latest version of the runtime to get the latest be...

X Description: Is your feature request related to a problem? Please describe. Python 3.12 (with Debian 12) is available on Dockerhub. We should move to using the latest version of the runtime to get the latest be...

Opengraph URL: https://github.com/anomaly/lab-python-server/issues/86

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Migrate to Python `3.12-bookworm` image","articleBody":"**Is your feature request related to a problem? Please describe.**\r\nPython 3.12 (with Debian 12) is [available on Dockerhub](https://hub.docker.com/_/python). We should move to using the latest version of the runtime to get the latest benefits of the language and updated operating system.\r\n\r\n**Describe the solution you'd like**\r\n- Review [release notes](https://docs.python.org/3.12/whatsnew/3.12.html)\r\n- Investigate what issues arise from the migration, see library compatibility. This will probably require rebuilding the image from scratch and adding versions of packages that work with Python 3.12\r\n- There's reasonable confidence that the application codebase\r\n\r\n**Describe alternatives you've considered**\r\nNA. This is just a regular update.\r\n\r\n**Additional context**\r\n`greenlet` failed to install on my initial attempt at this with the following trace:\r\n```\r\n6.799   copying src/greenlet/greenlet.c -> build/lib.linux-aarch64-cpython-312/greenlet\r\n6.799   copying src/greenlet/greenlet.h -> build/lib.linux-aarch64-cpython-312/greenlet\r\n6.799   copying src/greenlet/slp_platformselect.h -> build/lib.linux-aarch64-cpython-312/greenlet\r\n6.799   copying src/greenlet/tests/_test_extension.c -> build/lib.linux-aarch64-cpython-312/greenlet/tests\r\n6.799   copying src/greenlet/tests/_test_extension_cpp.cpp -> build/lib.linux-aarch64-cpython-312/greenlet/tests\r\n6.799   copying src/greenlet/platform/setup_switch_x64_masm.cmd -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   copying src/greenlet/platform/switch_aarch64_gcc.h -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   copying src/greenlet/platform/switch_alpha_unix.h -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   copying src/greenlet/platform/switch_amd64_unix.h -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   copying src/greenlet/platform/switch_arm32_gcc.h -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   copying src/greenlet/platform/switch_arm32_ios.h -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   copying src/greenlet/platform/switch_csky_gcc.h -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   copying src/greenlet/platform/switch_m68k_gcc.h -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   copying src/greenlet/platform/switch_mips_unix.h -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   copying src/greenlet/platform/switch_ppc64_aix.h -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   copying src/greenlet/platform/switch_ppc64_linux.h -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   copying src/greenlet/platform/switch_ppc_aix.h -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   copying src/greenlet/platform/switch_ppc_linux.h -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   copying src/greenlet/platform/switch_ppc_macosx.h -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   copying src/greenlet/platform/switch_ppc_unix.h -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   copying src/greenlet/platform/switch_riscv_unix.h -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   copying src/greenlet/platform/switch_s390_unix.h -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   copying src/greenlet/platform/switch_sparc_sun_gcc.h -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   copying src/greenlet/platform/switch_x32_unix.h -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   copying src/greenlet/platform/switch_x64_masm.asm -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   copying src/greenlet/platform/switch_x64_masm.obj -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   copying src/greenlet/platform/switch_x64_msvc.h -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   copying src/greenlet/platform/switch_x86_msvc.h -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   copying src/greenlet/platform/switch_x86_unix.h -> build/lib.linux-aarch64-cpython-312/greenlet/platform\r\n6.799   running build_ext\r\n6.799   building 'greenlet._greenlet' extension\r\n6.799   creating build/temp.linux-aarch64-cpython-312\r\n6.799   creating build/temp.linux-aarch64-cpython-312/src\r\n6.799   creating build/temp.linux-aarch64-cpython-312/src/greenlet\r\n6.799   gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/tmp/tmpk_qm97_x/.venv/include -I/usr/local/include/python3.12 -c src/greenlet/greenlet.c -o build/temp.linux-aarch64-cpython-312/src/greenlet/greenlet.o\r\n6.799   src/greenlet/greenlet.c: In function ‘g_switchstack’:\r\n6.799   src/greenlet/greenlet.c:531:45: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘recursion_limit’; did you mean ‘py_recursion_limit’?\r\n6.799     531 |         current->recursion_depth = (tstate->recursion_limit\r\n6.799         |                                             ^~~~~~~~~~~~~~~\r\n6.799         |                                             py_recursion_limit\r\n6.799   src/greenlet/greenlet.c:532:47: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘recursion_remaining’; did you mean ‘c_recursion_remaining’?\r\n6.799     532 |                                     - tstate->recursion_remaining);\r\n6.799         |                                               ^~~~~~~~~~~~~~~~~~~\r\n6.799         |                                               c_recursion_remaining\r\n6.799   src/greenlet/greenlet.c:560:55: error: ‘_PyCFrame’ has no member named ‘use_tracing’\r\n6.799     560 |         ts__g_switchstack_use_tracing = tstate->cframe->use_tracing;\r\n6.799         |                                                       ^~\r\n6.799   src/greenlet/greenlet.c:621:23: error: ‘_PyCFrame’ has no member named ‘use_tracing’\r\n6.799     621 |         tstate->cframe->use_tracing = ts__g_switchstack_use_tracing;\r\n6.799         |                       ^~\r\n6.799   src/greenlet/greenlet.c:624:17: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘recursion_remaining’; did you mean ‘c_recursion_remaining’?\r\n6.799     624 |         tstate->recursion_remaining = (tstate->recursion_limit\r\n6.799         |                 ^~~~~~~~~~~~~~~~~~~\r\n6.799         |                 c_recursion_remaining\r\n6.799   src/greenlet/greenlet.c:624:48: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘recursion_limit’; did you mean ‘py_recursion_limit’?\r\n6.799     624 |         tstate->recursion_remaining = (tstate->recursion_limit\r\n6.799         |                                                ^~~~~~~~~~~~~~~\r\n6.799         |                                                py_recursion_limit\r\n6.799   src/greenlet/greenlet.c: In function ‘g_calltrace’:\r\n6.799   src/greenlet/greenlet.c:105:51: error: ‘_PyCFrame’ has no member named ‘use_tracing’\r\n6.799     105 | #define TSTATE_USE_TRACING(tstate) (tstate->cframe->use_tracing)\r\n6.799         |                                                   ^~\r\n6.799   src/greenlet/greenlet.c:654:5: note: in expansion of macro ‘TSTATE_USE_TRACING’\r\n6.799     654 |     TSTATE_USE_TRACING(tstate) = 0;\r\n6.799         |     ^~~~~~~~~~~~~~~~~~\r\n6.799   src/greenlet/greenlet.c:105:51: error: ‘_PyCFrame’ has no member named ‘use_tracing’\r\n6.799     105 | #define TSTATE_USE_TRACING(tstate) (tstate->cframe->use_tracing)\r\n6.799         |                                                   ^~\r\n6.799   src/greenlet/greenlet.c:657:5: note: in expansion of macro ‘TSTATE_USE_TRACING’\r\n6.799     657 |     TSTATE_USE_TRACING(tstate) =\r\n6.799         |     ^~~~~~~~~~~~~~~~~~\r\n6.799   src/greenlet/greenlet.c: In function ‘g_initialstub’:\r\n6.799   src/greenlet/greenlet.c:903:51: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘recursion_limit’; did you mean ‘py_recursion_limit’?\r\n6.799     903 |     self->recursion_depth = (PyThreadState_GET()->recursion_limit\r\n6.799         |                                                   ^~~~~~~~~~~~~~~\r\n6.799         |                                                   py_recursion_limit\r\n6.799   src/greenlet/greenlet.c:904:53: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘recursion_remaining’; did you mean ‘c_recursion_remaining’?\r\n6.799     904 |                              - PyThreadState_GET()->recursion_remaining);\r\n6.799         |                                                     ^~~~~~~~~~~~~~~~~~~\r\n6.799         |                                                     c_recursion_remaining\r\n6.799   error: command '/usr/bin/gcc' failed with exit code 1\r\n6.799   \r\n6.799 \r\n6.799   at /usr/local/lib/python3.12/site-packages/poetry/installation/chef.py:147 in _prepare\r\n6.800       143│ \r\n6.800       144│                 error = ChefBuildError(\"\\n\\n\".join(message_parts))\r\n6.800       145│ \r\n6.800       146│             if error is not None:\r\n6.801     → 147│                 raise error from None\r\n6.801       148│ \r\n6.801       149│             return path\r\n6.801       150│ \r\n6.801       151│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:\r\n6.801 \r\n6.801 Note: This error originates from the build backend, and is likely not a problem with poetry but with greenlet (1.1.3.post0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 \"greenlet (==1.1.3.post0)\"'.\r\n6.801 \r\n------\r\nfailed to solve: process \"/bin/sh -c poetry install --no-root\" did not complete successfully: exit code: 1\r\n```","author":{"url":"https://github.com/devraj","@type":"Person","name":"devraj"},"datePublished":"2023-10-06T02:40:47Z","url":"https://github.com/anomaly/lab-python-server/issues/86"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0af0189d-6f49-848d-82a4-f79e7c6516a6
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9FEE:25E63A:5ECB99:826731:6B04755B
html-safe-nonce539ffe91d1c98057618701f7d8bdefab82d36f8991345d1a21488cb586e2b100
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RkVFOjI1RTYzQTo1RUNCOTk6ODI2NzMxOjZCMDQ3NTVCIiwidmlzaXRvcl9pZCI6IjIwNjczNTQ4NzE2MTA1MDQ1MzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac445a8bca853b53f59b33e54d00253a8430976d41a5280f3c36940ab7e8bf81b0
hovercard-subject-tagissue:1929341014
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/anomaly/lab-python-server/86/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9ba5dbf7affd3b0d09580befd611e7a51dbb304847a2438ee7cec71d8c0046d4/anomaly/lab-python-server/issues/86
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9ba5dbf7affd3b0d09580befd611e7a51dbb304847a2438ee7cec71d8c0046d4/anomaly/lab-python-server/issues/86
og:image:altIs your feature request related to a problem? Please describe. Python 3.12 (with Debian 12) is available on Dockerhub. We should move to using the latest version of the runtime to get the latest be...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedevraj
hostnamegithub.com
expected-hostnamegithub.com
None9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b
turbo-cache-controlno-preview
go-importgithub.com/anomaly/lab-python-server git https://github.com/anomaly/lab-python-server.git
octolytics-dimension-user_id3654837
octolytics-dimension-user_loginanomaly
octolytics-dimension-repository_id491764445
octolytics-dimension-repository_nwoanomaly/lab-python-server
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id491764445
octolytics-dimension-repository_network_root_nwoanomaly/lab-python-server
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
releasecf73f57448d52b3a7b619195e182b33d3b3454ca
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/anomaly/lab-python-server/issues/86#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fanomaly%2Flab-python-server%2Fissues%2F86
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fanomaly%2Flab-python-server%2Fissues%2F86
Sign uphttps://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=anomaly%2Flab-python-server
Reloadhttps://github.com/anomaly/lab-python-server/issues/86
Reloadhttps://github.com/anomaly/lab-python-server/issues/86
Reloadhttps://github.com/anomaly/lab-python-server/issues/86
anomalyhttps://github.com/anomaly
lab-python-serverhttps://github.com/anomaly/lab-python-server
Codehttps://github.com/anomaly/lab-python-server
Issues31 (31)https://github.com/anomaly/lab-python-server/issues
Pull requests9 (9)https://github.com/anomaly/lab-python-server/pulls
Discussionshttps://github.com/anomaly/lab-python-server/discussions
Actionshttps://github.com/anomaly/lab-python-server/actions
Projectshttps://github.com/anomaly/lab-python-server/projects
Security and qualityhttps://github.com/anomaly/lab-python-server/security
Insightshttps://github.com/anomaly/lab-python-server/insights
https://github.com/anomaly/lab-python-server
New issuehttps://github.com/login?return_to=https://github.com/anomaly/lab-python-server/issues/86
New issuehttps://github.com/login?return_to=https://github.com/anomaly/lab-python-server/issues/86
Migrate to Python 3.12-bookworm imagehttps://github.com/anomaly/lab-python-server/issues/86#top
https://github.com/devraj
https://github.com/devraj
devrajhttps://github.com/devraj
on Oct 6, 2023https://github.com/anomaly/lab-python-server/issues/86#issue-1929341014
available on Dockerhubhttps://hub.docker.com/_/python
release noteshttps://docs.python.org/3.12/whatsnew/3.12.html
devrajhttps://github.com/devraj
on Oct 6, 2023https://github.com/anomaly/lab-python-server/issues/86#event-10570195922
https://github.com/devraj
devrajhttps://github.com/devraj
on Oct 31, 2023https://github.com/anomaly/lab-python-server/issues/86#issuecomment-1788073242
supporting PEP 517 buildshttps://peps.python.org/pep-0517/
python-pendulum/pendulum#765https://github.com/python-pendulum/pendulum/pull/765
devrajhttps://github.com/devraj
on Nov 22, 2023https://github.com/anomaly/lab-python-server/issues/86#event-11030611863
fix: python3.12 build by upgrading pendulum3-betahttps://github.com/anomaly/lab-python-server/commit/a830530a466e1b38a08458b7aaad6f5ca02e06d4
a830530https://github.com/anomaly/lab-python-server/commit/a830530a466e1b38a08458b7aaad6f5ca02e06d4
devrajhttps://github.com/devraj
completedhttps://github.com/anomaly/lab-python-server/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 22, 2023https://github.com/anomaly/lab-python-server/issues/86#event-11030614879
devrajhttps://github.com/devraj
on Jan 2, 2024https://github.com/anomaly/lab-python-server/issues/86#event-11366523531
refactor: move to table branch for pendulum REFS #86https://github.com/anomaly/lab-python-server/commit/919cb1574b0547591931416c07554acea2307a1d
#86https://github.com/anomaly/lab-python-server/issues/86
919cb15https://github.com/anomaly/lab-python-server/commit/919cb1574b0547591931416c07554acea2307a1d
Sign up for freehttps://github.com/signup?return_to=https://github.com/anomaly/lab-python-server/issues/86
Sign in to commenthttps://github.com/login?return_to=https://github.com/anomaly/lab-python-server/issues/86
devrajhttps://github.com/devraj
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.