Skip to content

chore(deps): update dependency poetry-core to >=1.9.0

renovate-bot-2024 requested to merge renovate/poetry-core-1.x into master

This MR contains the following updates:

Package Type Update Change
poetry-core build-system.requires minor >=1.0.0 -> >=1.9.0

Release Notes

python-poetry/poetry-core (poetry-core)

v1.9.0

Compare Source

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

v1.8.1

Compare Source

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

v1.8.0

Compare Source

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

v1.7.0

Compare Source

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

v1.6.1

Compare Source

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

v1.6.0

Compare Source

Added
  • Improve error message for invalid markers (#​569).
  • Increase robustness when deleting temporary directories on Windows (#​460).
  • Add support for file dependencies with subdirectories (#​467).
Changed
  • Replace tomlkit with tomli, which changes the interface of some internal classes (#​483).
  • Deprecate Package.category (#​561).
Fixed
  • Fix a performance regression in marker handling (#​568).
  • Fix an issue where wildcard version constraints were not handled correctly (#​402).
  • Fix an issue where poetry build created duplicate Python classifiers if they were specified manually (#​578).
  • Fix an issue where local versions where not handled correctly (#​579).
Vendoring

v1.5.2

Compare Source

Fixed
  • Fix an issue where wheels built on Windows could contain duplicate entries in the RECORD file (#​555).

v1.5.1

Compare Source

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

v1.5.0

Compare Source

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

v1.4.0

Compare Source

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

v1.3.2

Compare Source

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

v1.3.1

Compare Source

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

v1.3.0

Compare Source

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

v1.2.0

Compare Source

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

v1.1.0

Compare Source

  • No functional changes.

v1.0.8

Compare Source

Added

v1.0.7

Compare Source

Fixed
  • Fixed an issue where the wrong git executable could be used on Windows. (#​213)
  • Fixed an issue where the Python 3.10 classifier was not automatically added. (#​215)

v1.0.6

Compare Source

Added
  • Added support for more hash types gen generating hashes. (#​207)

v1.0.5

Compare Source

Fixed
  • Fixed the copy of Package instances which led to file hashes not being available. (#​193)
  • Fixed an issue where unsafe parameters could be passed to git commands. (#​203)
  • Fixed an issue where the wrong git executable could be used on Windows. (#​205)

v1.0.4

Compare Source

Fixed
  • Fixed an error in the way python markers with a precision >= 3 were handled. (#​180)
  • Fixed an error in the evaluation of in/not in markers (#​189)

v1.0.3

Compare Source

Fixed
  • Fixed an error when handling single-digit Python markers (#​156).
  • Fixed dependency markers not being properly copied when changing the constraint (#​163).

v1.0.2

Compare Source

Fixed
  • Fixed a missing import causing an error in Poetry (#​134).

v1.0.1

Compare Source

Fixed
  • Fixed PEP 508 representation of dependency without extras (#​102).
  • Fixed an error where development dependencies were being resolved when invoking the PEP-517 backend (#​101).
  • Fixed source distribution not being deterministic (#​105).
  • Fixed an error where zip files were left open when building wheels (#​122).
  • Fixed an error where explicitly included files were still not present in final distributions (#​124).
  • Fixed wheel filename matching for recent architecture (#​125, #​129).
  • Fixed an error where the & character was not accepted for author names (#​120).
  • Fixed the PEP-508 representation of some dependencies (#​103).
  • Fixed the Requires-Python metadata generation (#​127).
  • Fixed an error where pre-release versions were accepted in version constraints (#​128).

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports