Poetry-core

Latest version: v1.9.0

Safety actively analyzes 613682 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 9

1.9.0

Added

- Add a `to` key in `tool.poetry.packages` to allow custom subpackage names ([672](https://github.com/python-poetry/poetry-core/pull/672)).
- Add support for path dependencies that do not define a build system ([675](https://github.com/python-poetry/poetry-core/pull/675)).
- Add a `tool.poetry.package-mode` key to support non-package mode ([661](https://github.com/python-poetry/poetry-core/pull/661)).

Changed

- Update list of supported licenses ([659](https://github.com/python-poetry/poetry-core/pull/659), [#669](https://github.com/python-poetry/poetry-core/pull/669), [#678](https://github.com/python-poetry/poetry-core/pull/678), [#694](https://github.com/python-poetry/poetry-core/pull/694)).
- Improve support for PEP 691 JSON-based Simple API ([664](https://github.com/python-poetry/poetry-core/pull/664)).
- Establish zipapp compatibility ([670](https://github.com/python-poetry/poetry-core/pull/670)).
- Rework list of files included in build artifacts ([666](https://github.com/python-poetry/poetry-core/pull/666)).
- Improve performance by treating collections in packages as immutable ([663](https://github.com/python-poetry/poetry-core/pull/663)).
- Deprecate `poetry.core.masonry.builder` ([682](https://github.com/python-poetry/poetry-core/pull/682)).
- Deprecate scripts that depend on extras ([690](https://github.com/python-poetry/poetry-core/pull/690)).

Fixed

- Fix an issue where insignificant errors were printed if the working directory is not inside a git repository ([684](https://github.com/python-poetry/poetry-core/pull/684)).
- Fix an issue where the project's directory was not recognized as git repository on Windows due to an encoding issue ([685](https://github.com/python-poetry/poetry-core/pull/685)).

Vendoring

- [`fastjsonschema==2.19.1`](https://github.com/horejsek/python-fastjsonschema/blob/master/CHANGELOG.txt)

1.8.1

Fixed

- Fix an issue where git URLs starting with `git+` could not be parsed anymore ([657](https://github.com/python-poetry/poetry-core/pull/657)).

1.8.0

Added

- Add `3.12` to the list of available Python versions ([631](https://github.com/python-poetry/poetry-core/pull/631)).
- Add support for creating packages dynamically in the build script ([629](https://github.com/python-poetry/poetry-core/pull/629)).

Changed

- Improve marker logic for `extra` markers ([636](https://github.com/python-poetry/poetry-core/pull/636)).
- Update list of supported licenses ([635](https://github.com/python-poetry/poetry-core/pull/635), [#646](https://github.com/python-poetry/poetry-core/pull/646)).
- Deprecate `Dependency.transitive_python_versions` ([648](https://github.com/python-poetry/poetry-core/pull/648)).
- Deprecate `Dependency.transitive_python_constraint` ([649](https://github.com/python-poetry/poetry-core/pull/649)).

Fixed

- Fix an issue where projects with extension modules were not installed in editable mode ([633](https://github.com/python-poetry/poetry-core/pull/633)).
- Fix an issue where the wrong or no `lib` folder was added to the wheel ([634](https://github.com/python-poetry/poetry-core/pull/634)).

Vendoring

- Replace [`jsonschema`](https://github.com/python-jsonschema/jsonschema) with [`fastjsonschema`](https://github.com/horejsek/python-fastjsonschema).

1.7.0

Added

- Optionally use resolved references when converting a VCS dependency to a PEP 508 dependency specification ([603](https://github.com/python-poetry/poetry-core/pull/603)).
- Improve performance of marker handling ([609](https://github.com/python-poetry/poetry-core/pull/609)).

Changed

- Drop support for Python 3.7 ([566](https://github.com/python-poetry/poetry-core/pull/566)).
- Remove deprecated `poetry.core.constraints.generic` and `poetry.core.semver` ([601](https://github.com/python-poetry/poetry-core/pull/601)).
- Allow `|` as a value separator in markers with the operators `in` and `not in` ([608](https://github.com/python-poetry/poetry-core/pull/608)).
- Put pretty name (instead of normalized name) in metadata ([620](https://github.com/python-poetry/poetry-core/pull/620)).
- Update list of supported licenses ([623](https://github.com/python-poetry/poetry-core/pull/623)).

Fixed

- Fix an issue where the encoding was not handled correctly when calling a subprocess ([602](https://github.com/python-poetry/poetry-core/pull/602)).
- Fix an issue where caret constraints with additional whitespace could not be parsed ([606](https://github.com/python-poetry/poetry-core/pull/606)).
- Fix an issue where PEP 508 dependency specifications with names starting with a digit could not be parsed ([607](https://github.com/python-poetry/poetry-core/pull/607)).
- Fix an issue where Poetry considered an unrelated `.gitignore` file resulting in an empty wheel ([611](https://github.com/python-poetry/poetry-core/pull/611)).

Vendoring

1.6.1

Fixed

- Fix an endless recursion in marker handling ([593](https://github.com/python-poetry/poetry-core/pull/593)).
- Fix an issue where the wheel tag was not built correctly under certain circumstances ([591](https://github.com/python-poetry/poetry-core/pull/591)).
- Fix an issue where the tests included in the sdist failed due to missing files ([589](https://github.com/python-poetry/poetry-core/pull/589)).

1.6.0

Added

- Improve error message for invalid markers ([569](https://github.com/python-poetry/poetry-core/pull/569)).
- Increase robustness when deleting temporary directories on Windows ([460](https://github.com/python-poetry/poetry-core/pull/460)).
- Add support for file dependencies with subdirectories ([467](https://github.com/python-poetry/poetry-core/pull/467)).

Changed

- Replace `tomlkit` with `tomli`, which changes the interface of some _internal_ classes ([483](https://github.com/python-poetry/poetry-core/pull/483)).
- Deprecate `Package.category` ([561](https://github.com/python-poetry/poetry-core/pull/561)).

Fixed

- Fix a performance regression in marker handling ([568](https://github.com/python-poetry/poetry-core/pull/568)).
- Fix an issue where wildcard version constraints were not handled correctly ([402](https://github.com/python-poetry/poetry-core/pull/402)).
- Fix an issue where `poetry build` created duplicate Python classifiers if they were specified manually ([578](https://github.com/python-poetry/poetry-core/pull/578)).
- Fix an issue where local versions where not handled correctly ([579](https://github.com/python-poetry/poetry-core/pull/579)).

Vendoring

- [`attrs==23.1.0`](https://github.com/python-attrs/attrs/blob/main/CHANGELOG.md)
- [`packaging==23.1`](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [`tomli==2.0.1`](https://github.com/hukkin/tomli/blob/master/CHANGELOG.md)
- [`typing-extensions==4.5.0`](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md)

Page 1 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.