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

pip no longer updates requirement files along with pyproject #11750

Open
1 task done
gegoune opened this issue Mar 6, 2025 · 0 comments
Open
1 task done

pip no longer updates requirement files along with pyproject #11750

gegoune opened this issue Mar 6, 2025 · 0 comments
Labels

Comments

@gegoune
Copy link

gegoune commented Mar 6, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

pip

Package manager version

No response

Language version

requires-python = '>=3.12'

Manifest location and content before the Dependabot update

$ grep psycopg pyproject.toml
  'psycopg[binary]==3.2.4',

$ egrep -A2 '^psycopg-binary' src/requirements*
src/requirements-dev.txt:psycopg-binary==3.2.4 \
src/requirements-dev.txt-    --hash=sha256:03bf7ee7e0002c2cce43ecb923ec510358056eb2e44a96afaeb0424518f35206 \
src/requirements-dev.txt-    --hash=sha256:04144d1963aa3309247980f1a742b98e15f60d68ea9745143c433f99aaeb70d7 \
--
src/requirements.txt:psycopg-binary==3.2.4 \
src/requirements.txt-    --hash=sha256:03bf7ee7e0002c2cce43ecb923ec510358056eb2e44a96afaeb0424518f35206 \
src/requirements.txt-    --hash=sha256:04144d1963aa3309247980f1a742b98e15f60d68ea9745143c433f99aaeb70d7 \

dependabot.yml content

version: 2
enable-beta-ecosystems: true
updates:
  - package-ecosystem: 'pip'
    directory: '/'
    schedule:
      interval: 'daily'
    open-pull-requests-limit: 10

Amongst others.

Please note that I am also affected by #11352, unsure if related.

Updated dependency

psycopg[binary] from 3.2.4 to 3.2.5:

  'psycopg[binary]==3.2.4',
  'psycopg[binary]==3.2.5',

in pyproject.toml.

What you expected to see, versus what you actually saw

Up until recently (perhaps when I've added enable-beta-ecosystems: true, not sure) I was getting pull requests with all three files below being updated.

All of following files were upgraded accordingly:

  • pyproject.toml
  • src/requirements-dev.txt
  • src/requirements.txt

Current behaviour/issue:
At the moment only pyproject.toml gets updated. No updates to src/requirements* files.

Native package manager behavior

Requirements files were generated with uv pip compile, but no mention of uv was required in dependabot configuration.

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

No response

Smallest manifest that reproduces the issue

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant