diff --git a/pdm.lock b/pdm.lock index 7ba6173b..696369fc 100644 --- a/pdm.lock +++ b/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "bandit", "cbor", "dev", "doc", "encryption", "flake8", "format", "msgpack", "mypy", "sniffio", "test", "tox", "uvloop"] strategy = ["cross_platform"] lock_version = "4.4" -content_hash = "sha256:65d56ad31ba148d4a578ba881fb78409db97ab8382353fc728ed8328f9e58bd8" +content_hash = "sha256:26e0be9a91b54ccd02b468ad5510d9dd5d698ba74e112fda1e5de797b96baa95" [[package]] name = "alabaster" @@ -1433,11 +1433,11 @@ files = [ [[package]] name = "trove-classifiers" -version = "2023.8.7" +version = "2023.11.9" summary = "Canonical source for classifiers on PyPI (pypi.org)." files = [ - {file = "trove-classifiers-2023.8.7.tar.gz", hash = "sha256:c9f2a0a85d545e5362e967e4f069f56fddfd91215e22ffa48c66fb283521319a"}, - {file = "trove_classifiers-2023.8.7-py3-none-any.whl", hash = "sha256:a676626a31286130d56de2ea1232484df97c567eb429d56cfcb0637e681ecf09"}, + {file = "trove-classifiers-2023.11.9.tar.gz", hash = "sha256:0542bc03d151f8af84f0eb0e74aa931b374b6f9c8ed8fbf7ee41989fb9d40f1d"}, + {file = "trove_classifiers-2023.11.9-py3-none-any.whl", hash = "sha256:f9784ab55054bb327d0c8d33931fb2555b81e5b4868832490ab7959ae3ea9186"}, ] [[package]] diff --git a/pyproject.toml b/pyproject.toml index 907e53bb..56478c36 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -97,7 +97,7 @@ test = [ "pytest-mock~=3.10.0", "pytest-cov<5,>=4.0", "pytest-asyncio>=0.21.0", - "trove-classifiers==2023.8.7", + "trove-classifiers>=2023.11.9", "trustme>=1.0.0", ] doc = [ diff --git a/tox.ini b/tox.ini index 411fae68..efbe16a3 100644 --- a/tox.ini +++ b/tox.ini @@ -15,11 +15,6 @@ setenv = PYTHONHASHSEED = 100 PYTHONUNBUFFERED = 1 PDM_IGNORE_SAVED_PYTHON = 1 -all_extras = - cbor - msgpack - encryption - sniffio allowlist_externals = pdm @@ -57,11 +52,6 @@ commands = [testenv:py311-{unit,functional}-{__standard__,cbor,msgpack,encryption,sniffio}] package = wheel -extras = - cbor: cbor - msgpack: msgpack - encryption: encryption - sniffio: sniffio allowlist_externals = {[base]allowlist_externals} setenv = @@ -74,6 +64,10 @@ setenv = passenv = PYTEST_MAX_WORKERS commands_pre = + cbor: {[pdm]sync} --prod --group=cbor + msgpack: {[pdm]sync} --prod --group=msgpack + encryption: {[pdm]sync} --prod --group=encryption + sniffio: {[pdm]sync} --prod --group=sniffio {[pdm]sync} --dev --group=test commands = __standard__: pytest -n "{env:PYTEST_MAX_WORKERS:auto}" --dist={[base-pytest]xdist_dist} -m "not feature" {env:TESTS_ROOTDIR} @@ -142,8 +136,6 @@ commands = [testenv:mypy-{full,test,docs}] package = wheel -extras = - {[base]all_extras} allowlist_externals = {[base]allowlist_externals} setenv = @@ -151,6 +143,7 @@ setenv = MYPY_CACHE_DIR = {envtmpdir}{/}.mypy_cache MYPY_OPTS = --config-file {toxinidir}{/}pyproject.toml --new-type-inference commands_pre = + {[pdm]sync} --prod --group=":all" {[pdm]sync} --dev --group=mypy test: {[pdm]sync} --dev --group=test commands =