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

fix: Migrate away from deprecated pulp API #2610

Merged
merged 3 commits into from Jan 12, 2024

Conversation

ebete
Copy link
Contributor

@ebete ebete commented Jan 12, 2024

Description

The latest update of pulp 2.8.0 removed deprecated API calls still used by snakemake.
This PR updates the calls to their modern equivalents, as well as constrains the pulp version to the moment these got introduced (v2.3.1).

Fixes the issues described in #2607 and #2606.

QC

  • The PR contains a test case for the changes or the changes are already covered by an existing test case.
  • The documentation (docs/) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake).

@corneliusroemer
Copy link
Contributor

Once this is merged, the bioconda recipe needs to include the new version constraints

@johanneskoester
Copy link
Contributor

Thanks!

@johanneskoester
Copy link
Contributor

Fixing old Snakemake releases on bioconda here: bioconda/bioconda-recipes#45203

Copy link

sonarcloud bot commented Jan 12, 2024

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@johanneskoester johanneskoester merged commit fb26640 into snakemake:main Jan 12, 2024
34 checks passed
henrykironde added a commit to henrykironde/snakemake that referenced this pull request Jan 12, 2024
by Handling backward compatibility within the code
ref snakemake#2610 snakemake#2612
@ebete ebete deleted the fix-pulp branch January 12, 2024 21:27
johanneskoester pushed a commit that referenced this pull request Jan 13, 2024
🤖 I have created a release *beep* *boop*
---


##
[8.1.2](v8.1.1...v8.1.2)
(2024-01-12)


### Bug Fixes

* local mtime handling in case of storage plugins and cleaner error
message for parallel storage retrieval
([#2611](#2611))
([880b264](880b264))
* Migrate away from deprecated pulp API
([#2610](#2610))
([fb26640](fb26640))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@corneliusroemer
Copy link
Contributor

I think the bioconda dependencies weren't adjusted 🙃

https://github.com/bioconda/bioconda-recipes/pull/45226/files

@@ -46,7 +46,7 @@ install_requires =
nbformat
packaging
psutil
pulp >=2.0
pulp >=2.3.1,<2.9 # pulp introduced a breaking change from 2.7 to 2.8. Hence we should always pin to the minor version.
Copy link
Contributor

Choose a reason for hiding this comment

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

Mirrored to bioconda here: bioconda/bioconda-recipes#45234

Unfortunately not already for 8.1.2, just for 8.1.3

ireneisdoomed added a commit to opentargets/evidence_datasource_parsers that referenced this pull request Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants