Modern, extensible Python project management
Changed:
run
/env run
, fmt
and shell
commands now only change the current working directory to the project root if not already inside the projectshell
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:
test
commandrun
command can now execute scripts that define inline metadata for dependencies and Python version constraintsvirtual
environment type now supports the ability to use UV in place of pip & virtualenvself report
command for submitting pre-populated bug reports to GitHubenvironment
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
~/.pypirc
file for the index
publisherHATCH_DEBUG
environment variable that when enabled will show local variables in the case of unhandled tracebacksenv show
command now outputs data about all internal environments when using the --json
flagFixed:
pyproject.toml
file but no project
table e.g. applicationsfmt
command when automatically installing plugin dependenciestypes
environment for new projectsE501
for the fmt
command by default since it conflicts with the formatterpackaging
dependency version as >=23.2
to avoid its URL validation which can conflict with context formattingREADME.md
file template for new projects to avoid Markdown linting issuesFixed:
Fixed:
.venv
to the list of directories that cannot be traversedFixed:
shared-scripts
option/shared_scripts
build data of the wheel
targetAdded:
shared_data
and shared_scripts
build data for the wheel
targetAdded:
shared-scripts
option for the wheel
targetFixed:
packaging
dependency version as >=23.2
to avoid its URL validation which can conflict with context formattingFixed:
Fixed:
Fixed:
custom
build hook when using dynamic dependenciesFixed: