← All tasks
pythonpython-poetry/poetry-plugin-export #319Verified, not scored yet

Export saves incorrect markers in 1.9.0

envgap__python-poetry__poetry-plugin-export-319

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not scored yet.
  • The failure reproduces in a clean container and the known fix makes the project run; it has not been scored yet.

02 / ENVIRONMENT RECIPE

Base commit
4ce1298206c1d688ea0a30811f3d9a43fbc900c8
Manifest
pyproject.toml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

python-poetry/poetry-plugin-export #319 · read the original issue
Export command:

`poetry export --only acceptance --without-hashes > acceptance_reqs.txt`



pyproject.toml

```

[tool.poetry.group.acceptance.dependencies]

python = "^3.11.7"

behave = {version = "1.2.6", markers = "python_version >= '3.11' and python_full_version < '4.0.0'" }

```



Version 1.8.0 output:

```

behave==1.2.6 ; python_full_version >= "3.11.7" and python_full_version < "4.0.0"

```



Version 1.9.0 output:

```

behave==1.2.6 ; python_version >= "3.12" and python_full_version < "4.0.0" and (platform_system == "Windows" or platform_system == "Darwin") or python_version >= "3.12" and python_full_version < "4.0.0" and (platform_system != "Windows" and platform_system != "Darwin")

```



Poetry version `2.0.1`

Expected python version constraint is `>= "3.11"`

Is that a bug, or am I missing any extra configuration for v1.9.0?







Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]