Skip to content

Pip: cooldown does not work correctly with install target #12102

@SMoraisAnsys

Description

@SMoraisAnsys

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

https://github.com/ansys/pyaedt/blob/main/pyproject.toml

dependabot.yml content

https://github.com/ansys/pyaedt/blob/main/.github/dependabot.yml

Updated dependency

The pull request opened is ansys/pyaedt#6061
It updates the dependency to pyvista[io], i.e. pyvista with install target io see https://github.com/pyvista/pyvista/blob/4397139a92bb8cbd59c4dff834a48f8ecf7baf1a/pyproject.toml#L42.
The original version range was pyvista[io]>=0.38.0,<0.45 and the new proposed range is pyvista[io]>=0.38.0,<0.46.

What you expected to see, versus what you actually saw

We have enabled the beta ecosystems and use the cooldown feature with the following configuration: weekly updates on saturday 6am Europe/Paris timezone + cooldown of 7 days. Yesterday dependabot opened a PR for pyvista[io] (i.e. pyvista with io install target, see above). However, this is unexpected because the release of pyvista happened yesterday. We would expect this PR to be opened next week and not today.
From comment #3651 (comment), it seems that the issue arise because the dependency includes an extra [io].

According to @kbukum1:

This leads to Dependabot fetching version data from the incorrect URL: https://pypi.org/pypi/pyvista[io]/json instead of the correct https://pypi.org/pypi/pyvista/json. Since the URL https://pypi.org/pypi/pyvista[io]/json doesn’t exist, we’re unable to retrieve the necessary details, such as the release date for the dependency.

Native package manager behavior

No response

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

Link to the PR: ansys/pyaedt#6061

Smallest manifest that reproduces the issue

I created a branch with a light version of the manifest. It should be enough to reproduce the issue https://github.com/ansys/pyaedt/blob/tests/empty-file-for-dependabot/pyproject.toml

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions