Skip to content

Releases: python-poetry/poetry-core

2.1.1

16 Feb 20:38
Compare
Choose a tag to compare

Fixed

  • Fix an issue where simplifying a python_version marker resulted in an invalid marker (#838).

2.1.0

15 Feb 12:57
Compare
Choose a tag to compare

Added

  • Pass a local version label to the build backend interface (#814).
  • Expose build-system dependencies via the poetry instance (#319).
  • Add has_upper_bound method to VersionConstraint (#833).

Changed

  • Improve performance of calculating intersections and unions of extra markers (#818).
  • Improve performance of calculating intersections and unions of complex markers (#821, #832).
  • Improve performance of marker operations by simplifying python_version markers (#826).
  • Improve performance by caching parsed requirements (#828).
  • Improve error message when a referenced license file is missing (#827).

Fixed

  • Fix an issue where inclusive ordering with post releases was inconsistent with PEP 440 (#379).
  • Fix an issue where invalid URI tokens in PEP 508 requirement strings were silently discarded (#817).
  • Fix an issue where wrong markers were calculated when removing parts covered by the project's python constraint (#824).
  • Fix an issue where optional dependencies that are not part of an extra were included in the wheel metadata (#830).
  • Fix an issue where the __pycache__ directory and *.pyc files were included in sdists and wheels (#835).

2.0.1

11 Jan 18:22
Compare
Choose a tag to compare

Changed

  • Replace the deprecated core metadata field Home-page with Project-URL: Homepage (#807).

Fixed

  • Fix an issue where includes from tool.poetry.packages without a specified format were not initialized with the default value resulting in a KeyError (#805).
  • Fix an issue where some project.urls entries were not processed correctly resulting in a KeyError (#807).
  • Fix an issue where dynamic project.dependencies via tool.poetry.dependencies were ignored if project.optional-dependencies were defined (#811).

2.0.0

04 Jan 14:11
2.0.0
Compare
Choose a tag to compare

Added

  • Add support for the project section in the pyproject.toml file according to PEP 621 (#708, #792).
  • Add support for non PEP440 compliant version in the platform_release marker (#722).
  • Add support for string comparisons with in / not in in generic constraints (#722).
  • Add support for script files that are generated by a build script (#710).
  • Add support for SOURCE_DATE_EPOCH when building packages (#766, #781).

Changed

  • Drop support for Python 3.8 (#798).
  • Create METADATA files with version 2.3 instead of 2.2 (#707).
  • Normalize source vcs URLs (#701).
  • Make allow-prereleases a tri-state setting (#783).
  • Rename exceptions to have an Error suffix (#767).
  • Remove support for x in version constraints (#770).
  • Remove support for scripts with extras (#708).
  • Remove deprecated features and interfaces (#702, #769).
  • Deprecate tool.poetry.dev-dependencies in favor of tool.poetry.group.dev.dependencies (#754).
  • Deprecate Package.python_marker (#446).
  • Improve Cygwin git support under Windows (#704).
  • Improve error message when the pyproject.toml file cannot be parsed (#734).
  • Improve handling of readme files (#752).
  • Improve error handling when the Python constraint is empty (#761).
  • Improve performance for creating a PEP 508 requirement from a dependency (#779).
  • Update list of supported licenses (#706, #718, #727, #736, #746, #755, #764, #784, #787, #795).

Fixed

  • Fix an issue where the platlib directory of the wrong Python was used (#726).
  • Fix handling of generic constraints (#732).
  • Fix an issue where building a wheel in a nested output directory results in an error (#762).
  • Fix an issue where + was not allowed in git URL paths (#765).
  • Fix an issue where the temporary directory was not cleaned up on error (#775).
  • Fix an issue where the regular expression for author names was too restrictive (#517).
  • Fix an issue where basic auth http(s) credentials could not be parsed (#791).

Vendoring

1.9.1

13 Oct 15:53
1.9.1
1dffcf2
Compare
Choose a tag to compare

Added

  • Add 3.13 to the list of available Python versions (#747).

1.9.0

02 Feb 14:09
1.9.0
Compare
Choose a tag to compare

Added

  • Add a to key in tool.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

31 Oct 16:03
1.8.1
Compare
Choose a tag to compare

Fixed

  • Fix an issue where git URLs starting with git+ could not be parsed anymore (#657).

1.8.0

31 Oct 14:01
1.8.0
Compare
Choose a tag to compare

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

1.7.0

20 Aug 14:51
1.7.0
Compare
Choose a tag to compare

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 and poetry.core.semver (#601).
  • Allow | as a value separator in markers with the operators in and not 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

29 May 08:06
1.6.1
Compare
Choose a tag to compare

Fixed

  • Fix an endless recursion in marker handling (#593).
  • Fix an issue where the wheel tag was not built correctly under certain circumstances (#591).
  • Fix an issue where the tests included in the sdist failed due to missing files (#589).