Releases: python-poetry/poetry-core
Releases · python-poetry/poetry-core
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).
1.1.0rc1
Changed
- Replaced Poetry's helper method
canonicalize_name()
bypackaging.utils.canonicalize_name()
(#418). - Removed unused code (#419).
Fixed
- Fixed an issue with markers, that results in incorrectly resolved extra dependencies (#415).
- Fixed an issue where equal markers had not the same hash (#417).
- Fixed
allows_any()
for local versions (#433). - Fixed special cases of
next_major()
,next_minor()
, etc. and deprecated ambiguous usage (#434). - Fixed an issue with Python constraints from markers (#436).
1.1.0b3
Added
- Added support for valid PEP 517 projects with another build-system than poetry-core as directory dependencies (#368, #377).
- Added support for yanked files and releases according to PEP 592 (#400).
Changed
- Relaxed schema validation to allow additional properties (#369).
- Harmonized string representation of dependencies (#393).
- Changed wheel name normalization to follow most recent packaging specification (#394).
- Changed equality check of direct origin dependencies, so that constraints are not considered anymore (#405).
- Deprecated
Dependency.set_constraint()
and replaced it by aconstraint
property for consistency (#370). - Removed
Package.requires_extras
(#374). - Improved marker handling (#380, #383, #384, #390, #395).