Releases: python-poetry/poetry-core
Releases · python-poetry/poetry-core
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).
Vendoring
1.4.0
Added
- The PEP 517
metadata_directory
is now respected as an input to thebuild_wheel
hook (#487).
Changed
- Sources are now considered more carefully when dealing with dependencies with environment markers (#497).
EmptyConstraint
is now hashable (#513).ParseConstraintError
is now raised on version and constraint parsing errors, and includes information on the package that caused the error (#514).
Fixed
- Fix an issue where invalid PEP 508 requirements were generated due to a missing space before semicolons (#510).
- Fix an issue where relative paths were encoded into package requirements, instead of a file:// URL as required by PEP 508 (#512).
Vendoring
1.3.2
1.3.1
1.3.0
Added
- Add
3.11
to the list of available Python versions (#477).
Changed
- Deprecate
poetry.core.constraints.generic
, which is replaced bypoetry.core.packages.constraints
(#482). - Deprecate
poetry.core.semver
, which is replaced bypoetry.core.constraints.version
(#482).
Fixed
- Fix an issue where versions were escaped wrongly when building the wheel name (#469).
- Fix an issue where caret constraints of pre-releases with a major version of 0 resulted in an empty version range (#475).
- Fix an issue where the names of extras were not normalized according to PEP 685 (#476).
- Fix an issue where sdist names were not normalized (#484).
1.2.0
Added
- Added support for subdirectories in
url
dependencies (#398).
Changed
- When setting an invalid version constraint an error is raised instead of silently setting "any version" (#461).
- Allow more characters in author name (#411).
Fixed
- Fixed an issue where incorrect
Requires-Dist
information was generated when environment markers where used for optional packages (#462). - Fixed an issue where incorrect python constraints were parsed from environment markers (#457).
- Fixed the hashing of markers and constraints (#466).
- Fixed an issue where the PEP 508 name of directory dependencies used platform paths (#463).
1.1.0
- No functional changes.
1.1.0rc3
Release 1.1.0rc3
1.1.0rc2
Changed
- Enabled setting
version
ofProjectPackage
to support dynamically setting the project's package version (e.g. from a plugin) (#447).
Fixed
- Fixed an issue where
authors
property was not detected (#437). - Fixed an issue where submodules of git dependencies was not checked out (#439).
- Fixed an issue with Python constraints from markers (#448).
- Fixed an issue where the latest version of git dependency was selected instead of the locked one (#449).