We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 576016f commit 2b3941aCopy full SHA for 2b3941a
src/poetry/puzzle/provider.py
@@ -202,9 +202,12 @@ def use_environment(self, env: Env) -> Iterator[Provider]:
202
original_python_constraint = self._package_python_constraint
203
204
self._env = env
205
+ # We use the stable version here to improve support of environments of Python pre-release
206
+ # versions, e.g. Python 3.14rc2. Without using the stable version here, a dependency with
207
+ # a marker like `python_version >= "3.14"` would not be installed.
208
self._package_python_constraint = Version.parse(
209
env.marker_env["python_full_version"]
- )
210
+ ).stable
211
212
try:
213
yield self
0 commit comments