Skip to content

Releases: python-poetry/poetry-core

1.5.1

20 Feb 16:28
1.5.1
Compare
Choose a tag to compare

Changed

  • Improve performance by caching parsed markers, constraints and versions (#556).

1.5.0

28 Jan 10:52
1.5.0
Compare
Choose a tag to compare

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 from Package (#548).
  • Deprecate the pretty_version parameter when creating a Package (#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

22 Nov 15:59
1.4.0
Compare
Choose a tag to compare

Added

  • The PEP 517 metadata_directory is now respected as an input to the build_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

07 Oct 17:10
1.3.2
Compare
Choose a tag to compare

Fixed

  • Fix an issue where the normalization was not applied to the path of an sdist built using a PEP 517 frontend (#495).

1.3.1

05 Oct 21:51
1.3.1
Compare
Choose a tag to compare

Fixed

  • Fix an issue where a typing-driven assertion could be false at runtime, causing a failure during prepare_metadata_for_build_wheel (#492).

1.3.0

05 Oct 20:36
1.3.0
Compare
Choose a tag to compare

Added

  • Add 3.11 to the list of available Python versions (#477).

Changed

  • Deprecate poetry.core.constraints.generic, which is replaced by poetry.core.packages.constraints (#482).
  • Deprecate poetry.core.semver, which is replaced by poetry.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

16 Sep 15:53
Compare
Choose a tag to compare

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

31 Aug 02:29
Compare
Choose a tag to compare
  • No functional changes.

1.1.0rc3

26 Aug 20:34
e1aafaa
Compare
Choose a tag to compare
1.1.0rc3 Pre-release
Pre-release
Release 1.1.0rc3

1.1.0rc2

26 Aug 13:59
ebd52e0
Compare
Choose a tag to compare
1.1.0rc2 Pre-release
Pre-release

Changed

  • Enabled setting version of ProjectPackage 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).