Hi,
Given this pyproject.toml:
[project]
name = "export-bug"
version = "0.1.0"
description = ""
authors = [
{name = "Your Name",email = "you@example.com"}
]
readme = "README.md"
requires-python = "^3.12.10"
dependencies = [
"better-profanity (==0.5.0)"
]
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
(generated by Poetry 2.2.1)
which is locked as
# This file is automatically @generated by Poetry 2.2.1 and should not be changed by hand.
[[package]]
name = "better-profanity"
version = "0.5.0"
description = "Blazingly fast cleaning swear words (and their leetspeak) in strings"
optional = false
python-versions = "==3.*"
groups = ["main"]
files = [
{file = "better_profanity-0.5.0-py3-none-any.whl", hash = "sha256:ab45c3d6a1a7873534d86f5fc39628ce3125eae9a48335ab18ef52cf18e2cd13"},
{file = "better_profanity-0.5.0.tar.gz", hash = "sha256:b61d8574dec5ab9c6de31e5574dd0315412a81dd755edef6f154e72d391da72a"},
]
[metadata]
lock-version = "2.1"
python-versions = "^3.12.10"
content-hash = "f57678170c4e3e37a57ec42fe73a9cc99aec6c9424d15e76c6f6750d90c3ae71"
The export is
better-profanity==0.5.0 ; python_full_version >= "3.12.10" and python_version == "3" \
--hash=sha256:ab45c3d6a1a7873534d86f5fc39628ce3125eae9a48335ab18ef52cf18e2cd13 \
--hash=sha256:b61d8574dec5ab9c6de31e5574dd0315412a81dd755edef6f154e72d391da72a
which looks fine, except if you try to use it
$ pip install -r requirements.txt
Ignoring better-profanity: markers 'python_full_version >= "3.12.10" and python_version == "3"' don't match your environment
The python_version there needs to be set to "3.*" for this to work.
Hi,
Given this
pyproject.toml:(generated by Poetry 2.2.1)
which is locked as
The export is
which looks fine, except if you try to use it
The
python_versionthere needs to be set to"3.*"for this to work.