Title: Releases up to 0.8.0rc58, 0.7.0 included, fail on Python 3.15: ansible-core 2.21 does not start there · Issue #514 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: Releases up to 0.8.0rc58, 0.7.0 included, fail on Python 3.15: ansible-core 2.21 does not start there · Issue #514 · cloudfall-dev/cloudfall
X Title: Releases up to 0.8.0rc58, 0.7.0 included, fail on Python 3.15: ansible-core 2.21 does not start there · Issue #514 · cloudfall-dev/cloudfall
Description: Cloudfall version 0.7.0 (stable) and every 0.8.0 pre-release up to rc58. Works from 0.8.0rc59. Command Any command that runs a playbook, in a project whose environment was built on Python 3.15. The shortest reproduction needs no project:...
Open Graph Description: Cloudfall version 0.7.0 (stable) and every 0.8.0 pre-release up to rc58. Works from 0.8.0rc59. Command Any command that runs a playbook, in a project whose environment was built on Python 3.15. The...
X Description: Cloudfall version 0.7.0 (stable) and every 0.8.0 pre-release up to rc58. Works from 0.8.0rc59. Command Any command that runs a playbook, in a project whose environment was built on Python 3.15. The...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/514
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Releases up to 0.8.0rc58, 0.7.0 included, fail on Python 3.15: ansible-core 2.21 does not start there","articleBody":"### Cloudfall version\n\n0.7.0 (stable) and every 0.8.0 pre-release up to rc58. Works from 0.8.0rc59.\n\n### Command\n\nAny command that runs a playbook, in a project whose environment was built on Python 3.15. The shortest reproduction needs no project:\n\n```console\n$ uvx --python 3.15 --from cloudfall==0.7.0 ansible --version\nAttributeError: module 'dataclasses' has no attribute '_is_type'\n$ uvx --python 3.15 --from cloudfall==0.8.0rc34 ansible --version\nAttributeError: module 'dataclasses' has no attribute '_is_type'\n$ uvx --python 3.15 --prerelease allow --from 'cloudfall>=0.8.0rc59' ansible --version\nansible [core 2.22.0]\n```\n\n### Expected\n\nA release that declares `requires-python = \">=3.14\"` runs on Python 3.15, or refuses to install there.\n\n### Actual\n\n`ansible-core` 2.21.x fails at start on Python 3.15 (its `dataclasses` patch looks up `_is_type`, which 3.15 no longer has). Those releases pin `ansible-core>=2.21,\u003c2.22`, so on 3.15 the resolver has nothing that works.\n\nIt shows up without anyone choosing 3.15: a project made by `cloudfall init` gets `requires-python = \">=3.14\"`, and `uv sync` in a fresh checkout, a new worktree or a CI runner picks the newest Python that satisfies it. A checkout whose environment was created earlier on 3.14 keeps working, so the same project fails on one machine and passes on another.\n\nSince #349 (2026-11-16, first in 0.8.0rc59) the pin is `ansible-core>=2.21,\u003c2.23`, and a fresh resolve takes 2.22.0, which starts on 3.15. That fixed it by a dependency bump, not by intent, and three things are still open:\n\n- **The lower bound still admits the broken pair.** A project locked with `ansible-core` 2.21 keeps that lock on 3.15 until someone relocks\n- **0.7.0 is the current stable** and installs on 3.15 with no warning\n- **Nothing checks it.** `cloudfall doctor` verifies the `ansible-playbook` version, not that it starts on the running Python, and CI does not run on 3.15\n\n### Target\n\nController only: macOS arm64 with uv-managed Python 3.15.2. No server is involved; the failure is at `ansible` start.\n\n### Proposal\n\n- Make the dependency say what is true: `ansible-core>=2.22` for Python 3.15 and later (an environment marker), keeping 2.21 for 3.14\n- `cloudfall doctor`: start `ansible-playbook --version` on the project's Python and report a failure with the fix (relock, or cap `requires-python`)\n- Run the test suite on 3.15 as well as 3.14\n- `docs/compatibility.md`: name the supported Python versions per release line, and note that 0.7.0 needs Python 3.14\n- Decide whether 0.7.x gets a patch release with `requires-python = \">=3.14,\u003c3.15\"`\n\n### Workaround\n\nIn the project's `pyproject.toml`: `requires-python = \">=3.14,\u003c3.15\"`, then `uv lock` and `uv sync`.\n\n\u003c!-- shipmill:agent -->","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-11-17T13:50:19Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/514"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:89aef0c1-7a02-4e52-f9ba-2220a0650907 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A322:26AE17:1805700:1F76B34:6B054ED7 |
| html-safe-nonce | 12f722b1fa18a088aaa93a3f6dbbffeea0ba337994ccd07197f1910f28a1a3ac |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzIyOjI2QUUxNzoxODA1NzAwOjFGNzZCMzQ6NkIwNTRFRDciLCJ2aXNpdG9yX2lkIjoiMTk0NjY4MDY2NTg0ODQ5OTkyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6de4d6af1ecee0b2dfd1ce5a7054cf8302fac39abbda221564bd572d9d2065fa |
| hovercard-subject-tag | issue:6446040314 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cloudfall-dev/cloudfall/514/issue_layout |
| twitter:image | https://opengraph.githubassets.com/70b8eb459d6efe46631ca933c3a60dbecce0db370282d238eba1d3cbe834f7b8/cloudfall-dev/cloudfall/issues/514 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/70b8eb459d6efe46631ca933c3a60dbecce0db370282d238eba1d3cbe834f7b8/cloudfall-dev/cloudfall/issues/514 |
| og:image:alt | Cloudfall version 0.7.0 (stable) and every 0.8.0 pre-release up to rc58. Works from 0.8.0rc59. Command Any command that runs a playbook, in a project whose environment was built on Python 3.15. The... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shipmill-romamo[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | 854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b |
| turbo-cache-control | no-preview |
| go-import | github.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git |
| octolytics-dimension-user_id | 339512759 |
| octolytics-dimension-user_login | cloudfall-dev |
| octolytics-dimension-repository_id | 1360999777 |
| octolytics-dimension-repository_nwo | cloudfall-dev/cloudfall |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1360999777 |
| octolytics-dimension-repository_network_root_nwo | cloudfall-dev/cloudfall |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 220e980097d94ce616d5d11fbd5316d208e3fc93 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width