chore(deps): update dependency pypa/hatch to v1.18.0 - #277
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.17.1→1.18.0Release Notes
pypa/hatch (pypa/hatch)
v1.18.0: Hatch v1.18.0Compare Source
Changed:
2026080Added:
Add the
sourcesenvironment option, which redirects dependencies to a local path, Git repository, URL, alternate index, or workspace member at install time without altering published metadata. The top-level[tool.hatch.sources]table is an alias for thedefaultenvironment, environments inherit sources entry by entry, theHATCH_NO_SOURCESenvironment variable disables them, andhatch dep show sourcesreports what each source redirectsAdd the
--all/-aflag to thebuildcommand to build the workspace root and every workspace member defined by the selected environment, consolidating artifacts in the workspace root'sdistdirectory by default. A root that does not define aprojecttable is skipped so that a top-levelpyproject.tomlmay only contain workspace configurationAdd the
tool.hatch.requires-hatchfield, a version specifier set that commands reading the project's metadata enforce against the running version of HatchAdd first-class support for free-threaded distribution names such as
3.13tand3.14tto thepythoncommands and environmentpythonoption, rather than requiring theHATCH_PYTHON_VARIANT_GILenvironment variableThe
versioncommand can now bump versions that are statically defined by theproject.versionfield, updatingpyproject.tomlin place. Pass--forceto allow an explicit downgradeSupport managing Python 3.15 distributions, currently 3.15.0rc1
Fixed:
Erase stale coverage data before running
hatch test --cover.Fix environment creation crashing when a metadata hook exists that doesn’t happen to be installed in the
hatchCLI’s environment.Fix commands run by
hatch runno longer being interruptible with Ctrl-C, which happened because the ignoredSIGINTof the parent process was inherited by the child process.Fix the generated Pyrefly config being invalid on Windows, since backslashes in the absolute paths were interpreted as TOML escape sequences.
Fix the hardcoded reliance on
pipwhen installing dependencies internally by usinguvinstead.Fix environment creation silently installing a GIL-enabled Python distribution when Hatch itself runs on a free-threaded build. The distribution matching the running interpreter, such as
3.14t, is now selected.Fix free-threaded selectors such as
3.14tbeing rejected by an environment'spythonoption, even thoughhatch python install 3.14talready accepted them.Never automatically select a prerelease Python distribution, such as 3.15.0rc1, when falling back to the latest compatible version. A prerelease is still installed when requested explicitly.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.