Hatch

Latest version: v1.9.7

Safety actively analyzes 621706 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 7

1.9.7

***Fixed:***

- Limit the maximum version of virtualenv due to a backward incompatible change
- Upgrade PyApp to 0.12.0 for binary builds

hatchling-v1.24.2
***Fixed:***

- Add `.venv` to the list of directories that cannot be traversed
- Output from the core Application utility now writes to stderr

hatchling-v1.24.1
***Fixed:***

- Maintain file permissions for `shared-scripts` option/`shared_scripts` build data of the `wheel` target

hatchling-v1.24.0
***Added:***

- Add `shared_data` and `shared_scripts` build data for the `wheel` target

hatchling-v1.23.0
***Added:***

- Add `shared-scripts` option for the `wheel` target

***Fixed:***

- Support recursive optional dependencies
- Set the `packaging` dependency version as `>=23.2` to avoid its URL validation which can conflict with context formatting

hatchling-v1.22.5
***Fixed:***

- Fix reading metadata from source distributions when fields are dynamic but not part of core metadata like entry points

hatchling-v1.22.4
***Fixed:***

- Only read source distribution metadata for fields that are explicitly defined as dynamic

hatchling-v1.22.3
***Fixed:***

- Fix the `custom` build hook when using dynamic dependencies

hatchling-v1.22.2
***Fixed:***

- Fix regression when loading metadata from source distributions
- Fix metadata hooks when building wheels from source distributions

hatchling-v1.22.1
***Fixed:***

- Update the default version of core metadata to 2.3

hatchling-v1.22.0
***Deprecated:***

- The `app` build target has been renamed to `binary` to reduce ambiguity with the name of an upcoming feature. The former name will still be usable for several minor releases.

***Added:***

- Metadata for the `wheel` target now defaults to the `PKG-INFO` metadata within source distributions
- Add `dependencies` method to the build hook interface so that hooks can themselves dynamically define dependencies
- Update the default version of core metadata to 2.2
- Update SPDX license information to version 3.23
- Improve error message for when the default heuristics for wheel file inclusion fail

***Fixed:***

- Properly support core metadata version 2.2
- Remove `editables` as a direct dependency
- Fix default wheel tag when the supported Python version declaration is strict
- Load VCS ignore patterns first so that whitelisted patterns can be excluded by project configuration
- Don't consider VCS ignore files that are outside of the VCS boundary
- The `sdist` build target now gracefully ignores UNIX socket files
- Begin ignoring certain files ubiquitously, like `.DS_Store` on macOS

1.9.4

***Fixed:***

- Limit the maximum version of Hatchling in anticipation of backward incompatible changes

hatchling-v1.21.1
***Fixed:***

- Fix loading of local plugins to account for newly released versions of a dependency

1.9.3

***Fixed:***

- Fix loading of local plugins to account for newly released versions of a dependency

1.9.2

***Fixed:***

- Fix the default token variable name for publishing to PyPI

1.9.1

***Fixed:***

- 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

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
- Ignore compatibility checks when environments have already been created, significantly improving performance of environment usage
- Properly allow overriding of the `path` option for the `virtual` environment type
- Fix nushell activation on non-Windows systems

hatchling-v1.21.0
***Added:***

- Add `parent` context modifier for path fields

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.