Python packaging and dependency management made easy - PEP 621: fix `poetry source add` if there is no `tool.poetry` section yet · python-poetry/poetry@f9373b5
if dep.name in poetry_dependencies_by_name: enriched = False dep_marker = dep.marker if dep.in_extras: dep_marker = dep.marker.intersect( parse_marker( " or ".join( f"extra == '{extra}'" for extra in dep.in_extras ) ) ) for poetry_dep in poetry_dependencies_by_name[dep.name...
Pass Install Extras to Markers python-poetry/poetry#9553 Merged 2 tasks radoering requested a review from a team November 23, 2024 13:30 radoering added the 2.0 label Nov 24, 2024 abn approved these changes Nov 25, 2024 View reviewed changes PEP 621 support: fix merging project.opti...
Generating this newpoetry.lockfile took more than 17mn (1038.1s) Using the--regenerateoption, this was even worse as I had to killed it after 47mn (it hadn't finished) Resolved with poetry2.1.0 This standardizes thepyproject.tomlto conform exactly toPEP 621as it's now possible to do wit...
pythondistributionpackagingcondapep621 UpdatedFeb 13, 2025 Python jvllmr/trove-setup Star0 A simple TUI for adding trove classifiers to your project quickly poetryflitpackaging-for-pypipep621 UpdatedFeb 10, 2025 Python Whey extension for creating Conda packages for Python projects. ...
Summary by Sourcery Documentation: Add a new FAQ entry detailing the migration process from the tools.poetry section to the project section in pyproject.toml as per PEP 621.
[tool.poetry.group.test.dependencies] pytest = ">=8.0"[build-system] requires = ["poetry-core>=2.0.0,<3.0.0"] build-backend = "poetry.core.masonry.api" ```{{< /tab >}}{{< tab tabID="migrate-pep621-new-static" >}}```toml...
# import data from pyproject.toml using https://github.com/sphinx-toolbox/sphinx-pyproject # additional data can be added with `[tool.sphinx-pyproject]` and retrieved with `config['']`. config = SphinxConfig("../pyproject.toml", style="poetry") # add `, globalns=globals()` to dir...
Python packaging and dependency management made easy - docs: wip update docs to reflect PEP 621 more explicit · python-poetry/poetry@cdea02c
This is partly because Poetry came out before PEP 621. Hatch Hatch can also manage environments, allowing multiple environments per project. By default it has a central location for all environments but it can be configured to put a project's environment(s) in the project root directory. It ...