Skip to content

Revert "Add dependency groups to pyproject.toml file" #10342

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

Merged
merged 1 commit into from
Apr 14, 2025
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
43 changes: 1 addition & 42 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ classifiers = [
"Typing :: Typed",
]
dynamic = [ "version" ]
# All the dependencies of the project will be configured here, once pip fully supports PEP735
# TODO: Remove all requirements.txt files and use this section instead once pip supports PEP735

dependencies = [
# Also upgrade requirements_test_min.txt.
# Pinned to dev of second minor update to allow editable installs and fix primer issues,
Expand All @@ -52,10 +51,8 @@ dependencies = [
"tomlkit>=0.10.1",
"typing-extensions>=3.10; python_version<'3.10'",
]

optional-dependencies.spelling = [ "pyenchant~=3.2" ]
optional-dependencies.testutils = [ "gitpython>3" ]

urls."Bug Tracker" = "https://github.com/pylint-dev/pylint/issues"
urls."Discord Server" = "https://discord.com/invite/Egy6P8AMB5"
urls."Docs: Contributor Guide" = "https://pylint.readthedocs.io/en/latest/development_guide/contributor_guide/index.html"
Expand All @@ -68,44 +65,6 @@ scripts.pylint-config = "pylint:_run_pylint_config"
scripts.pyreverse = "pylint:run_pyreverse"
scripts.symilar = "pylint:run_symilar"

[dependency-groups]
dev = [
"contributors-txt>=1",
"pre-commit",
"tbump~=6.11.0",
]

test = [
"coverage~=7.8",
"pytest-cov~=6.0",
"pytest-xdist~=3.6",
"six",
"tox>=3",
"types-setuptools==78.1.0.20250329",
{ include-group = "test-min" },
]

docs = [
"furo==2024.8.6",
"sphinx==8.2.3",
"sphinx-reredirects<1",
"towncrier~=24.8",
]

# Configuration for the build system
test-min = [
# Base test dependencies
"astroid==4.0.0a0", # Pinned to a specific version for tests
"py~=1.11.0",
"pytest~=8.3",
"pytest-benchmark~=5.1",
"pytest-timeout~=2.3",
"requests",
"setuptools; python_version>='3.12'",
"towncrier~=24.8",
"typing-extensions~=4.12",
]

[tool.setuptools.packages.find]
include = [ "pylint*" ]

Expand Down
Loading