poetry-plugin-export
poetry-plugin-export copied to clipboard
Poetry plugin to export the dependencies to various formats
## Use-Case This change/enhancement handles a case where my primary repository (Artifactory) is the only machine on the network allowed to talk to pypi.org. All consumers of PyPI packages _must_...
Hello! I would like to develop a new output type. Can provide as a PR when done. In embarking on this, I'm scratching my head a bit on development flow....
When generating requirements.txt, I need the ability to skip the generation of index flags. I need to commit the generated `requirements.txt` to version control, which means I 1. cannot generate...
This fixes https://github.com/python-poetry/poetry/issues/8109 - The help text for `--with` has been updated to express that groups are never included by default - The readme has been updated with this precision...
``` ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― test_exporter_exports_extra_index_url_and_trusted_host ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― tmp_path = PosixPath('/tmp/pytest-of-yuri/pytest-1/test_exporter_exports_extra_in0'), poetry = def test_exporter_exports_extra_index_url_and_trusted_host( tmp_path: Path, poetry: Poetry ) -> None: poetry.pool.add_repository( LegacyRepository( "custom", "http://example.com/simple", ), priority=Priority.EXPLICIT, ) poetry.locker.mock_lock_data( # type: ignore[attr-defined] {...
After generating the `constraints.txt` file, I noticed that it still exported a few packages with extra dependencies. This eventually makes `pip install ... --constraint constraints.txt` fail with: ``` DEPRECATION: Constraints...
- [x] I am on the [latest](https://github.com/python-poetry/poetry/releases/latest) Poetry version. - [x] I have searched the [issues](https://github.com/python-poetry/poetry/issues) of this repo and believe that this is not a duplicate. - [x] If...
Moving from Poetry 1.1.13 to 1.4.2, it seems like `--with-credentials` stopped working. I see the extra index, but no credentials for it. Has anyone else run into this?
Option to support poetry export packages only specified in pyproject.toml, but no related upstreams
pyproject.toml: ```toml [tool.poetry.dependencies] python = "^3.10" httpx = "^0.23.3" ``` now `poetry export` output: ``` anyio==3.6.2 ; python_version >= "3.10" and python_version < "4.0" \ --hash=sha256:25ea0d673ae30af41a0c442f81cf3b38c7e79fdc7b60335a4c14e05eb0947421 \ --hash=sha256:fbbe32bd270d2a2ef3ed1c5d45041250284e31fc0a4df4a5a6071842051a51e3 certifi==2022.12.7 ;...
- **Poetry version**: 1.3.2 - **Python version**: 3.10.6 - **OS version and name**: Ubuntu 22.04.1 - **pyproject.toml**: just create it with `poetry new poetry-demo`: ``` [tool.poetry] name = "poetry-demo" version...