Add the following to the list of directories that cannot be traversed: __pypackages__, .hg, .hatch, .tox, .nox
Add deprecated option to allow ambiguous features
Fixed:
Improve tracking of dynamic metadata
Fix core metadata for entries in project.optional-dependencies that use direct references
Hatch v1.10.0
Changed:
The run/env run, fmt and shell commands now only change the current working directory to the project root if not already inside the project
The shell command now accepts a single argument to specify the environment to enter which overrides the standard choice mechanisms. The arguments determining shell options have been converted to flags.
Added:
Add test command
The run command can now execute scripts that define inline metadata for dependencies and Python version constraints
The virtual environment type now supports the ability to use UV in place of pip & virtualenv
Add self report command for submitting pre-populated bug reports to GitHub
The reserved environment used for static analysis is now completely configurable
Add the following methods to the environment interface for complete control over output during life cycle management: app_status_creation, app_status_pre_installation, app_status_post_installation, app_status_project_installation, app_status_dependency_state_check, app_status_dependency_installation_check, app_status_dependency_synchronization
Add binaries for 32-bit versions of Windows
Read configuration from any ~/.pypirc file for the index publisher
Use the Git user as the default username for new project URL metadata
Add HATCH_DEBUG environment variable that when enabled will show local variables in the case of unhandled tracebacks
The env show command now outputs data about all internal environments when using the --json flag
Upgrade default CPython distributions to 20240415
Upgrade default PyPy distributions to 7.3.15
Upgrade Ruff to 0.4.2
Upgrade PyApp to 0.19.0 for binary builds
Bump the minimum supported version of Hatchling to 1.24.2
Bump the minimum supported version of virtualenv to 20.26.1
Fixed:
Maintain consistent data paths for case insensitive file systems
When projects derive dependencies from metadata hooks, there is now by default a status indicator for when the hooks are executed for better responsiveness
Properly support projects with a pyproject.toml file but no project table e.g. applications
Fix the fmt command when automatically installing plugin dependencies
Fix dependency inheritance for the template of the types environment for new projects
Fix warnings related to tar file extraction on Python 3.12+ when unpacking Python distributions for installation
De-select Ruff rule E501 for the fmt command by default since it conflicts with the formatter
Fix colored output from build targets on the first run (build environment creation status indicator issue)
Set the packaging dependency version as >=23.2 to avoid its URL validation which can conflict with context formatting
Fix the exit code when there happens to be an unhandled exception
No longer capture both stdout and stderr streams when parsing metadata payloads from build environments
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps hatch from 1.9.4 to 1.10.0.
Release notes
Sourced from hatch's releases.
... (truncated)
Commits
ab79f40
Update release-hatch-1100.md9bddf0a
release Hatch v1.10.04cb8590
Upgrade Ruff to 0.4.2caa7bc1
Update blog post03af8a8
Bump lewagon/wait-on-check-action from 1.3.3 to 1.3.4 (#1447)428441e
Bump peaceiris/actions-gh-pages from 3 to 4 (#1448)2ec422c
Update hatch.md6dcb140
Show internal environments when using the--json
flag (#1444)20ca873
fix: infer tag could produce many/musl tags without repair/audit (#1438)59f2b91
Upgrade virtualenv dependency (#1440)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show