Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin Ruff to a lower bound rather than pinning pytest-ruff to an upper bound #4562

Merged
merged 1 commit into from
Aug 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ test = [

# local
"virtualenv>=13.0.0",
"wheel>=0.44.0", # Consistent requirement normalisation in METADATA (see #4547)
"wheel>=0.44.0", # Consistent requirement normalisation in METADATA (see #4547)
"pip>=19.1", # For proper file:// URLs support.
"packaging>=23.2",
"jaraco.envs>=2.2",
Expand All @@ -64,17 +64,10 @@ test = [
"importlib_metadata",
"pytest-subprocess",

# require newer pytest-ruff than upstream for pypa/setuptools#4368
# also exclude cygwin for pypa/setuptools#3921
'pytest-ruff >= 0.3.2; sys_platform != "cygwin"',

# workaround for pypa/setuptools#4333
"pyproject-hooks!=1.1",

"jaraco.test",

# workaround for businho/pytest-ruff#28
'pytest-ruff < 0.4; platform_system == "Windows"',
]

doc = [
Expand Down Expand Up @@ -118,8 +111,14 @@ core = [
]

check = [
# upstream
"pytest-checkdocs >= 2.4",
"pytest-ruff >= 0.2.1; sys_platform != 'cygwin'",

# local

# workaround for businho/pytest-ruff#28
"ruff >= 0.5.2; sys_platform != 'cygwin'",
]

cover = [
Expand Down
Loading