Releases: python-poetry/poetry-core
Releases · python-poetry/poetry-core
1.9.1
1.9.0
Added
- Add a
to
key intool.poetry.packages
to allow custom subpackage names (#672). - Add support for path dependencies that do not define a build system (#675).
- Add a
tool.poetry.package-mode
key to support non-package mode (#661).
Changed
- Update list of supported licenses (#659, #669, #678, #694).
- Improve support for PEP 691 JSON-based Simple API (#664).
- Establish zipapp compatibility (#670).
- Rework list of files included in build artifacts (#666).
- Improve performance by treating collections in packages as immutable (#663).
- Deprecate
poetry.core.masonry.builder
(#682). - Deprecate scripts that depend on extras (#690).
Fixed
- Fix an issue where insignificant errors were printed if the working directory is not inside a git repository (#684).
- Fix an issue where the project's directory was not recognized as git repository on Windows due to an encoding issue (#685).
Vendoring
1.8.1
1.8.0
Added
- Add
3.12
to the list of available Python versions (#631). - Add support for creating packages dynamically in the build script (#629).
Changed
- Improve marker logic for
extra
markers (#636). - Update list of supported licenses (#635, #646).
- Deprecate
Dependency.transitive_python_versions
(#648). - Deprecate
Dependency.transitive_python_constraint
(#649).
Fixed
- Fix an issue where projects with extension modules were not installed in editable mode (#633).
- Fix an issue where the wrong or no
lib
folder was added to the wheel (#634).
Vendoring
- Replace
jsonschema
withfastjsonschema
. lark==1.1.8
packaging==23.2
1.7.0
Added
- Optionally use resolved references when converting a VCS dependency to a PEP 508 dependency specification (#603).
- Improve performance of marker handling (#609).
Changed
- Drop support for Python 3.7 (#566).
- Remove deprecated
poetry.core.constraints.generic
andpoetry.core.semver
(#601). - Allow
|
as a value separator in markers with the operatorsin
andnot in
(#608). - Put pretty name (instead of normalized name) in metadata (#620).
- Update list of supported licenses (#623).
Fixed
- Fix an issue where the encoding was not handled correctly when calling a subprocess (#602).
- Fix an issue where caret constraints with additional whitespace could not be parsed (#606).
- Fix an issue where PEP 508 dependency specifications with names starting with a digit could not be parsed (#607).
- Fix an issue where Poetry considered an unrelated
.gitignore
file resulting in an empty wheel (#611).
Vendoring
1.6.1
1.6.0
Added
- Improve error message for invalid markers (#569).
- Increase robustness when deleting temporary directories on Windows (#460).
- Add support for file dependencies with subdirectories (#467).
Changed
- Replace
tomlkit
withtomli
, which changes the interface of some internal classes (#483). - Deprecate
Package.category
(#561).
Fixed
- Fix a performance regression in marker handling (#568).
- Fix an issue where wildcard version constraints were not handled correctly (#402).
- Fix an issue where
poetry build
created duplicate Python classifiers if they were specified manually (#578). - Fix an issue where local versions where not handled correctly (#579).
Vendoring
1.5.2
1.5.1
1.5.0
Added
- Improve marker handling (#528, #534, #530, #546, #547).
- Allow overriding the output directory when building dist files (#527).
- Validate whether dependencies referenced in
extras
are defined in the main dependency group (#542). - Improve handling of generic constraints (#515).
Changed
- Deprecate the hash function of
FileDependency
(#535). - Do not set
allows_preleases
implicitly anymore if the lower bound of a constraint is a pre-release (#543). - Poetry no longer generates a
setup.py
file in sdists by default (#318). - Remove the unused
platform
attribute fromPackage
(#548). - Deprecate the
pretty_version
parameter when creating aPackage
(#549). - Validate path dependencies during use instead of during construction (#520).
Fixed
- Fix an issue where the PEP 517
metadata_directory
was not respected when building an editable wheel (#537). - Fix an issue where trailing newlines were allowed in
tool.poetry.description
(#505). - Fix an issue where the name of the data folder in wheels was not normalized (#532).
- Fix an issue where the order of entries in the RECORD file was not deterministic (#545).
- Fix an issue where parsing of VCS URLs with escaped characters failed (#524).
- Fix an issue where the subdirectory parameter of VCS URLs was not respected (#518).
- Fix an issue where zero padding was not correctly handled in version comparisons (#540).
- Fix an issue where sdist builds did not support multiple READMEs (#486).