diff -Nru hatchling-1.17.1/debian/changelog hatchling-1.18.0/debian/changelog --- hatchling-1.17.1/debian/changelog 2023-06-10 21:18:10.000000000 +0000 +++ hatchling-1.18.0/debian/changelog 2023-06-18 14:35:06.000000000 +0000 @@ -1,3 +1,9 @@ +hatchling (1.18.0-1) unstable; urgency=medium + + * New upstream release. + + -- Stefano Rivera Sun, 18 Jun 2023 10:35:06 -0400 + hatchling (1.17.1-1) unstable; urgency=medium * New upstream release. diff -Nru hatchling-1.17.1/.gitignore hatchling-1.18.0/.gitignore --- hatchling-1.17.1/.gitignore 2020-02-02 00:00:00.000000000 +0000 +++ hatchling-1.18.0/.gitignore 2020-02-02 00:00:00.000000000 +0000 @@ -14,6 +14,7 @@ /.idea/ /.mypy_cache/ /.pytest_cache/ +/.ruff_cache/ /.vscode/ /backend/dist/ /dist/ @@ -21,3 +22,6 @@ # Root files /.coverage* + +# Auto-generated during builds +/src/hatch/_version.py diff -Nru hatchling-1.17.1/PKG-INFO hatchling-1.18.0/PKG-INFO --- hatchling-1.17.1/PKG-INFO 2020-02-02 00:00:00.000000000 +0000 +++ hatchling-1.18.0/PKG-INFO 2020-02-02 00:00:00.000000000 +0000 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: hatchling -Version: 1.17.1 +Version: 1.18.0 Summary: Modern, extensible Python build backend Project-URL: Homepage, https://hatch.pypa.io/latest/ Project-URL: Sponsor, https://github.com/sponsors/ofek @@ -16,7 +16,6 @@ Classifier: License :: OSI Approved :: MIT License Classifier: Natural Language :: English Classifier: Operating System :: OS Independent -Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 @@ -25,9 +24,8 @@ Classifier: Programming Language :: Python :: Implementation :: PyPy Classifier: Topic :: Software Development :: Build Tools Classifier: Topic :: Software Development :: Libraries :: Python Modules -Requires-Python: >=3.7 +Requires-Python: >=3.8 Requires-Dist: editables>=0.3 -Requires-Dist: importlib-metadata; python_version < '3.8' Requires-Dist: packaging>=21.3 Requires-Dist: pathspec>=0.10.1 Requires-Dist: pluggy>=1.0.0 diff -Nru hatchling-1.17.1/pyproject.toml hatchling-1.18.0/pyproject.toml --- hatchling-1.17.1/pyproject.toml 2020-02-02 00:00:00.000000000 +0000 +++ hatchling-1.18.0/pyproject.toml 2020-02-02 00:00:00.000000000 +0000 @@ -9,7 +9,7 @@ description = "Modern, extensible Python build backend" readme = "README.md" license = "MIT" -requires-python = ">=3.7" +requires-python = ">=3.8" keywords = [ "build", "hatch", @@ -24,7 +24,6 @@ "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", @@ -36,7 +35,6 @@ ] dependencies = [ "editables>=0.3", - "importlib-metadata; python_version < '3.8'", "packaging>=21.3", "pathspec>=0.10.1", "pluggy>=1.0.0", diff -Nru hatchling-1.17.1/src/hatchling/__about__.py hatchling-1.18.0/src/hatchling/__about__.py --- hatchling-1.17.1/src/hatchling/__about__.py 2020-02-02 00:00:00.000000000 +0000 +++ hatchling-1.18.0/src/hatchling/__about__.py 2020-02-02 00:00:00.000000000 +0000 @@ -1 +1 @@ -__version__ = '1.17.1' +__version__ = '1.18.0' diff -Nru hatchling-1.17.1/src/hatchling/builders/constants.py hatchling-1.18.0/src/hatchling/builders/constants.py --- hatchling-1.17.1/src/hatchling/builders/constants.py 2020-02-02 00:00:00.000000000 +0000 +++ hatchling-1.18.0/src/hatchling/builders/constants.py 2020-02-02 00:00:00.000000000 +0000 @@ -4,8 +4,6 @@ ( # Python bytecode '__pycache__', - # PEP 582 - '__pypackages__', # Git '.git', # Mercurial @@ -16,6 +14,12 @@ '.tox', # nox '.nox', + # Ruff + '.ruff_cache', + # pytest + '.pytest_cache', + # Mypy + '.mypy_cache', ) ) diff -Nru hatchling-1.17.1/src/hatchling/dep/core.py hatchling-1.18.0/src/hatchling/dep/core.py --- hatchling-1.17.1/src/hatchling/dep/core.py 2020-02-02 00:00:00.000000000 +0000 +++ hatchling-1.18.0/src/hatchling/dep/core.py 2020-02-02 00:00:00.000000000 +0000 @@ -2,15 +2,11 @@ import re import sys +from importlib.metadata import Distribution, DistributionFinder from packaging.markers import default_environment from packaging.requirements import Requirement -if sys.version_info >= (3, 8): - from importlib.metadata import Distribution, DistributionFinder -else: - from importlib_metadata import Distribution, DistributionFinder - class DistributionCache: def __init__(self, sys_path: list[str]) -> None: