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

pyproject.toml optional-dependencies are not considered dependency-type: "development" #10606

Open
1 task done
seamuslowry opened this issue Sep 15, 2024 · 0 comments
Open
1 task done
Labels
L: python T: bug 🐞 Something isn't working

Comments

@seamuslowry
Copy link

seamuslowry commented Sep 15, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

pip

Package manager version

No response

Language version

No response

Manifest location and content before the Dependabot update

No response

dependabot.yml content

version: 2
updates:
  - package-ecosystem: "pip"
    directory: "/"
    schedule:
      interval: "weekly"
    groups:
      dev-dependencies:
        dependency-type: "development"

Updated dependency

No response

What you expected to see, versus what you actually saw

I'd expect to see the two optional dependencies pyright and pylint to be updated as a group in a single PR. However, they are instead updated separately and the dependabot action logs

Please check your configuration as there are groups where no dependencies match:
- dev-dependencies

Separately, it's not really clear what should/shouldn't be considered a development dependency type for the pip package manager.

Native package manager behavior

No response

Images of the diff or a link to the PR, issue, or logs

No response

Smallest manifest that reproduces the issue

[build-system]
requires = ["setuptools >= 74.0"]
build-backend = "setuptools.build_meta"

[project]
name = "example"
version = "0.0.1"
description = "example"
requires-python = ">=3.9"
dependencies = []

[project.optional-dependencies]
lint = [
"pyright==1.1.379",
]
test = [
"pytest==8.3.2",
]

@seamuslowry seamuslowry added the T: bug 🐞 Something isn't working label Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: python T: bug 🐞 Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant