From 9e18d7ebf7a17bb7d7d169da3a3cefde0956a9f9 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Wed, 24 Jul 2024 16:04:12 +0800 Subject: build: Add pytest module in dev group --- pdm.lock | 42 ++++++++++++++++++++++++++++++++++++++++-- pyproject.toml | 1 + 2 files changed, 41 insertions(+), 2 deletions(-) diff --git a/pdm.lock b/pdm.lock index d6dd5ac..dc1b868 100644 --- a/pdm.lock +++ b/pdm.lock @@ -4,8 +4,8 @@ [metadata] groups = ["default", "lint", "dev", "docs"] strategy = ["cross_platform"] -lock_version = "4.4.1" -content_hash = "sha256:0f286d20de58fa05073a82da9ae524d9d0b871225e0f68cd0537c3ac936e70af" +lock_version = "4.4.2" +content_hash = "sha256:94e432ee5df19393cd6bc387c01bdd4e21f36dd651004d7ce0fd8aa3acbd8304" [[package]] name = "alabaster" @@ -408,6 +408,16 @@ files = [ {file = "importlib_metadata-7.1.0.tar.gz", hash = "sha256:b78938b926ee8d5f020fc4772d487045805a55ddbad2ecf21c6d60938dc7fcd2"}, ] +[[package]] +name = "iniconfig" +version = "2.0.0" +requires_python = ">=3.7" +summary = "brain-dead simple config-ini parsing" +files = [ + {file = "iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374"}, + {file = "iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3"}, +] + [[package]] name = "jinja2" version = "3.1.3" @@ -746,6 +756,16 @@ files = [ {file = "platformdirs-4.2.0.tar.gz", hash = "sha256:ef0cc731df711022c174543cb70a9b5bd22e5a9337c8624ef2c2ceb8ddad8768"}, ] +[[package]] +name = "pluggy" +version = "1.5.0" +requires_python = ">=3.8" +summary = "plugin and hook calling mechanisms for python" +files = [ + {file = "pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669"}, + {file = "pluggy-1.5.0.tar.gz", hash = "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1"}, +] + [[package]] name = "pycparser" version = "2.22" @@ -872,6 +892,24 @@ files = [ {file = "pyquery-2.0.0.tar.gz", hash = "sha256:963e8d4e90262ff6d8dec072ea97285dc374a2f69cad7776f4082abcf6a1d8ae"}, ] +[[package]] +name = "pytest" +version = "8.3.1" +requires_python = ">=3.8" +summary = "pytest: simple powerful testing with Python" +dependencies = [ + "colorama; sys_platform == \"win32\"", + "exceptiongroup>=1.0.0rc8; python_version < \"3.11\"", + "iniconfig", + "packaging", + "pluggy<2,>=1.5", + "tomli>=1; python_version < \"3.11\"", +] +files = [ + {file = "pytest-8.3.1-py3-none-any.whl", hash = "sha256:e9600ccf4f563976e2c99fa02c7624ab938296551f280835ee6516df8bc4ae8c"}, + {file = "pytest-8.3.1.tar.gz", hash = "sha256:7e8e5c5abd6e93cb1cc151f23e57adc31fcf8cfd2a3ff2da63e23f732de35db6"}, +] + [[package]] name = "pyyaml" version = "6.0.1" diff --git a/pyproject.toml b/pyproject.toml index fe0df3e..bb5f601 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -107,5 +107,6 @@ lint = [ dev = [ "nox>=2024.4.15", "maturin>=1.5.1", + "pytest>=8.3.1", ] -- cgit v1.2.3-70-g09d2