Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Implement PEP 735 Dependency Groups#4800

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
harshil21 wants to merge7 commits intomaster
base:master
Choose a base branch
Loading
frompep-735
Open

Conversation

harshil21
Copy link
Member

Closes#4795.

Also ran the standard vscode file formatter on pyproject.toml, so if you're wondering about that change, it's that.

Also works withuv:uv sync --all-extras --all-groups

@harshil21harshil21 added the 🛠 code-qualitychange type: code-quality labelMay 23, 2025
@github-actionsgithub-actionsbot removed the 🛠 code-qualitychange type: code-quality labelMay 23, 2025
Copy link

@CopilotCopilotAI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Pull Request Overview

This PR implements PEP 735 dependency groups, removes legacy requirement files, and updates CI/docs workflows to use pip’s--group installs.

  • Definetests,docs, andall dependency groups inpyproject.toml
  • Removerequirements-*.txt files and switch workflows from-r installs to--group flags
  • Reformat array syntax and lint settings inpyproject.toml for consistency

Reviewed Changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
FileDescription
requirements-unit-tests.txtRemoved legacy test requirements file
requirements-dev-all.txtRemoved legacy dev-all requirements file
pyproject.tomlAdded[dependency-groups], collapsed arrays, updated optional-dependencies
docs/requirements-docs.txtRemoved legacy docs requirements file
.readthedocs.ymlUpdated RTD install step—now onlypip install .
.github/workflows/unit_tests.ymlSwitched topip install . --group tests, removed old installs
.github/workflows/test_official.ymlSwitched topip install .[all] --group tests
.github/workflows/docs-linkcheck.ymlSwitched topip install .[all] --group all
.github/workflows/docs-admonitions.ymlSwitched topip install . --group all
.github/workflows/chango.ymlSwitched topip install . --group docs
.github/CONTRIBUTING.rstUpdated contributor setup to use--group all
Comments suppressed due to low confidence (3)

.readthedocs.yml:20

  • The ReadTheDocs config no longer installs documentation dependencies. You should add an install argument to include thedocs group (e.g.,args: ["--group", "docs"]) so Sphinx requirements are pulled in.
    - method: pip      path: .

.github/workflows/unit_tests.yml:41

  • [nitpick] Thetests dependency group already includespytest-xdist, so this extra installation is redundant and can be removed.
python -W ignore -m pip install pytest-xdist

.github/workflows/docs-admonitions.yml:34

  • With the old requirements files removed, the cache no longer tracks dependency changes. Consider addingcache-dependency-path: 'pyproject.toml' (or similar) to ensure the cache is invalidated when dependencies are updated.
-          cache-dependency-path: '**/requirements*.txt'

@harshil21harshil21 added the 🛠 code-qualitychange type: code-quality labelMay 23, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

Copilot code reviewCopilotCopilot left review comments

@Bibo-JoshiBibo-JoshiAwaiting requested review from Bibo-Joshi

Assignees
No one assigned
Labels
🛠 code-qualitychange type: code-quality
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Support PEP 735 Dependency Groups
1 participant
@harshil21

[8]ページ先頭

©2009-2025 Movatter.jp