Skip to content

Releases: python-poetry/poetry-core

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).

1.1.0rc1

17 Aug 10:02
a43b3b5
Compare
Choose a tag to compare
1.1.0rc1 Pre-release
Pre-release

Changed

  • Replaced Poetry's helper method canonicalize_name() by packaging.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

12 Jul 19:36
f9e81fd
Compare
Choose a tag to compare
1.1.0b3 Pre-release
Pre-release

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 a constraint property for consistency (#370).
  • Removed Package.requires_extras (#374).
  • Improved marker handling (#380, #383, #384, #390, #395).