🔧 Upgrade pytest version and config (#1570)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Sebastián Ramírez · committed by GitHub · parent eaec8fa · Browse files · 2 files·+9 added−9 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+9 added−9 removed
- other:+9 added−9 removed
Provenance
- Commit
3840899- Tree
fc7d891- Author
Sebastián Ramírez <tiangolo@gmail.com>- Committer
GitHub <noreply@github.com>- Parent
eaec8fa
2 files changed+9 added−9 removed
modified:pyproject.toml+5 added-5 removed
75 unmodified lines76 "pygithub >=2.3.0",77 "smokeshow >=0.5.0",78 ]79 tests = [80- "coverage[toml] >=6.2",80+ "coverage[toml] >=7.13",81 "mypy >=1.19.1",82 "ty >=0.0.9",83- "pytest >=7.4.0",83+ "pytest >=9.0.0",84 "pytest-cov >=4.0.0",85 "pytest-sugar >=0.9.5",86 "pytest-xdist >=1.32.0",87 "rich >=12.3.0",11 unmodified lines99 "docs_src/",100 "scripts/",101 ]102 103-[tool.pytest.ini_options]103+[tool.pytest]104+minversion = "9.0"105 addopts = [106 "--strict-config",107 "--strict-markers",108 ]108-xfail_strict = true109-junit_family = "xunit2"109+strict_xfail = true110 filterwarnings = [111 "error",112 # For pytest-xdist113 'ignore::DeprecationWarning:xdist',98 unmodified linesmodified:uv.lock+4 added-4 removed
1899 unmodified lines1900 1901 [package.metadata.requires-dev]1902 dev = [1903 { name = "cairosvg", specifier = ">=2.8.2" },1904- { name = "coverage", extras = ["toml"], specifier = ">=6.2" },1904+ { name = "coverage", extras = ["toml"], specifier = ">=7.13" },1905 { name = "griffe-typingdoc", specifier = ">=0.3.0" },1906 { name = "griffe-warnings-deprecated", specifier = ">=1.1.0" },1907 { name = "markdown-include-variants", specifier = ">=0.0.8" },1908 { name = "mdx-include", specifier = ">=1.4.1" },3 unmodified lines1912 { name = "mkdocstrings", extras = ["python"], specifier = ">=0.30.1" },1913 { name = "mypy", specifier = ">=1.19.1" },1914 { name = "pillow", specifier = ">=11.3.0" },1915 { name = "prek", specifier = ">=0.3.2" },1916- { name = "pytest", specifier = ">=7.4.0" },1916+ { name = "pytest", specifier = ">=9.0.0" },1917 { name = "pytest-cov", specifier = ">=4.0.0" },1918 { name = "pytest-sugar", specifier = ">=0.9.5" },1919 { name = "pytest-xdist", specifier = ">=1.32.0" },1920 { name = "pyyaml", specifier = ">=5.3.1" },22 unmodified lines1943 { name = "pygithub", specifier = ">=2.3.0" },1944 { name = "smokeshow", specifier = ">=0.5.0" },1945 ]1946 tests = [1947- { name = "coverage", extras = ["toml"], specifier = ">=6.2" },1947+ { name = "coverage", extras = ["toml"], specifier = ">=7.13" },1948 { name = "mypy", specifier = ">=1.19.1" },1949- { name = "pytest", specifier = ">=7.4.0" },1949+ { name = "pytest", specifier = ">=9.0.0" },1950 { name = "pytest-cov", specifier = ">=4.0.0" },1951 { name = "pytest-sugar", specifier = ">=0.9.5" },1952 { name = "pytest-xdist", specifier = ">=1.32.0" },1953 { name = "rich", specifier = ">=12.3.0" },75 unmodified lines