- The run/env run and test commands now treat inclusion variable
options as an intersection rather than a union to allow for
specific targeting of environments
- Add ability to control the source of Python distributions
- Upgrade Ruff to 0.4.5
- Upgrade PyApp to 0.22.0 for binary builds
- The fmt command no longer hides the commands that are being
executed
- Add default timeout for network requests, useful when installing
Python distributions
- Fix syntax highlighting contrast for the config show command
- 1.11.1:
- Add official GitHub Action for installing Hatch
- Fix terminal.styles.spinner configuration
- Fix entry points in the pre-built distributions that binaries use
- 1.11.0:
- Upgrade PyApp to 0.21.1 for binary builds
- On Linux, install the highest compatible Python distribution
variant based on CPU architecture rather than assuming recent
hardware
- 1.10.0:
- 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.
- Add test command
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=35
* Limit the maximum version of Hatchling in anticipation of
backward incompatible changes
- update to 1.9.3:
* Fix loading of local plugins to account for newly released
versions of a dependency
- update to 1.9.2:
* Fix the default token variable name for publishing to PyPI
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=32
- Update to 1.9.1
* Ensure that the dependency_hash method of the environment
interface is called after sync_dependencies for cases where the
hash is only known at that point, such as for dependency
lockers
* Only acknowledge the HATCH_PYTHON_VARIANT_* environment
variables for Python resolution for supported platforms and
architectures
* Fix Python resolution when there are metadata hooks with
unsatisfied dependencies
- Unskip default platform tests gh#pypa/hatch#1145, but skip
error checker
- Update to 1.9.0
## Changed:
* Environments prefixed by hatch- are now considered internal and
used for special purposes such as configuration for static
analysis
## Added:
* Enable docstring formatting by default for static analysis
* Allow for overriding config of internal environments
* Concretely state the expected API contract for the environment
interface methods find and check_compatibility
* Upgrade Ruff to 0.1.8
* Bump the minimum supported version of Hatchling to 1.21.0
## Fixed:
* Ignore a project's Python requirement for environments where
the project is not installed
* When not persisting config for static analysis, properly manage
internal settings when Ruff's top level table already exists
OBS-URL: https://build.opensuse.org/request/show/1135083
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=30
- Update to 1.8.1
## Fixed:
* Fix regression in calling subprocesses with updated PATH
* Fix automatic installation of environment plugins when running
as a standalone binary
* Change default location of Python installations
- Release 1.8.0
## Changed:
* Drop support for Python 3.7
* The get_build_process method of the environment interface has
been removed; plugins should use the new run_builder method
instead
* Remove pyperclip dependency and the --copy flag of the config
find command
* When running the build command all output from builders is now
displayed as-is in real time without the stripping of ANSI
codes
* Version information (for Hatch itself) is now derived from Git
## Added:
* Support Python 3.12
* Add installers and standalone binaries
* Add the ability to manage Python installations
* Add fmt command
* The virtual environment type can now automatically download
requested versions of Python that are not installed
* Add dependency_hash method to the environment interface
* The state of installed dependencies for environments is saved
as metadata so if dependency definitions have not changed then
no checking is performed, which can be computationally
expensive
OBS-URL: https://build.opensuse.org/request/show/1133911
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=28
* The `src-layout` project template option is now enabled by
default
* Non-critical output now goes to stderr
* Add `tool.hatch.env.requires` configuration to automatically
install dependencies for environment and environment
collector plugins
* Add `custom` environment collector
* Improve syncing of dependencies provided through Git direct
references
* Add `isolated_data_directory` attribute to the environment
interface
* Increase the timeout for and add retries to the `index`
publisher
* Expand home and environment variables in configured cache and
data directories
* Improve readability of exceptions
* Update project templates
* Bump the minimum supported version of Hatchling to 1.14.0
* Fix displaying the version with the `version` command when
the version is static and build dependencies are unmet
* Fix build environments for the `virtual` environment type
when storing within a relative path
* Allow setuptools metadata migration for projects without
`setup.py` if `setup.cfg` is present
* Handle additional edge cases for setuptools metadata
migration
* Support boolean values for the `config set` command
- drop hatch-pr659-utf8.patch (upstream)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=16
- Update to v1.6.3
## Fixed:
* Fix version command when the version is dynamic and build
dependencies are unmet
- Release 1.6.2 - 2022-10-20
## Fixed:
* Fix getting dynamic metadata from hooks for environments when
dependencies are not dynamic
- Release 1.6.1 - 2022-10-16
## Fixed:
* Computing the path to the user's home directory now gracefully
falls back to ~ when it cannot be determined
- Release 1.6.0 - 2022-10-08
## Changed:
* The run_shell_command environment interface method now accepts
arbitrary subprocess.Popen keyword arguments. This is not
strictly breaking, but will be utilized in upcoming features.
* The internal directory structure for storing virtual
environments is now more nested. This is not breaking, but any
local environments will be created anew.
## Added:
* Add project command group to view details about the project
like PEP 621 metadata
* Better support for auto-detection of environments by tools like
Visual Studio Code now that the storage directory of virtual
environments will be flat if Hatch's configured virtual
environment directory resides somewhere within the project root
or if it is set to a .virtualenvs directory within the user's
home directory
* Build environments for the virtual environment type are now
OBS-URL: https://build.opensuse.org/request/show/1057152
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hatch?expand=0&rev=13