diff --git a/pdm.lock b/pdm.lock index 03c73636..71151f20 100644 --- a/pdm.lock +++ b/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "bandit", "benchmark-servers", "benchmark-servers-deps", "build", "cbor", "coverage", "dev", "doc", "flake8", "format", "micro-benchmark", "msgpack", "mypy", "pre-commit", "sniffio", "test", "tox", "types-msgpack", "uvloop"] strategy = ["cross_platform", "inherit_metadata"] lock_version = "4.4.1" -content_hash = "sha256:2eedd6a31781a0825df6f986c3b6026fb800a491116812d59c3d61b74740eec9" +content_hash = "sha256:587367a5635b20aecac94f859fd4d111f08958e86c2e0435885a6d190c6f42ab" [[package]] name = "alabaster" @@ -715,21 +715,6 @@ files = [ {file = "hatch-1.12.0.tar.gz", hash = "sha256:ae80478d10312df2b44d659c93bc2ed4d33aecddce4b76378231bdf81c8bf6ad"}, ] -[[package]] -name = "hatch-vcs" -version = "0.4.0" -requires_python = ">=3.8" -summary = "Hatch plugin for versioning with your preferred VCS" -groups = ["dev"] -dependencies = [ - "hatchling>=1.1.0", - "setuptools-scm>=6.4.0", -] -files = [ - {file = "hatch_vcs-0.4.0-py3-none-any.whl", hash = "sha256:b8a2b6bee54cf6f9fc93762db73890017ae59c9081d1038a41f16235ceaf8b2c"}, - {file = "hatch_vcs-0.4.0.tar.gz", hash = "sha256:093810748fe01db0d451fabcf2c1ac2688caefd232d4ede967090b1c1b07d9f7"}, -] - [[package]] name = "hatchling" version = "1.24.2" @@ -1625,27 +1610,12 @@ name = "setuptools" version = "70.0.0" requires_python = ">=3.8" summary = "Easily download, build, install, upgrade, and uninstall Python packages" -groups = ["benchmark-servers-deps", "dev"] +groups = ["benchmark-servers-deps"] files = [ {file = "setuptools-70.0.0-py3-none-any.whl", hash = "sha256:54faa7f2e8d2d11bcd2c07bed282eef1046b5c080d1c32add737d7b5817b1ad4"}, {file = "setuptools-70.0.0.tar.gz", hash = "sha256:f211a66637b8fa059bb28183da127d4e86396c991a942b028c6650d4319c3fd0"}, ] -[[package]] -name = "setuptools-scm" -version = "8.1.0" -requires_python = ">=3.8" -summary = "the blessed package to manage your versions by scm tags" -groups = ["dev"] -dependencies = [ - "packaging>=20", - "setuptools", -] -files = [ - {file = "setuptools_scm-8.1.0-py3-none-any.whl", hash = "sha256:897a3226a6fd4a6eb2f068745e49733261a21f70b1bb28fce0339feb978d9af3"}, - {file = "setuptools_scm-8.1.0.tar.gz", hash = "sha256:42dea1b65771cba93b7a515d65a65d8246e560768a66b9106a592c8e7f26c8a7"}, -] - [[package]] name = "shellingham" version = "1.5.4" diff --git a/pyproject.toml b/pyproject.toml index 6f77dc9f..9acc9a41 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling >=1.20,<2", "hatch-vcs~=0.4.0"] +requires = ["hatchling >=1.20,<2"] build-backend = "hatchling.build" [project] @@ -64,7 +64,6 @@ sniffio = [ dev = [ "bump2version>=1.0.1", "hatch>=1.8", - "hatch-vcs~=0.4.0", ] build = [ "build>=1.0.3", @@ -150,6 +149,7 @@ fallback-version = "1.0.0rc8" local_scheme = "no-local-version" [tool.hatch.build.hooks.vcs] +dependencies = ["hatch-vcs~=0.4.0"] version-file = "src/easynetwork/version.py" template = ''' # Copyright 2021-2024, Francis Clairicia-Rose-Claire-Josephine