Skip to content

Remove two small just-added tests#1188

Merged
dralley merged 2 commits into
pulp:mainfrom
dralley:remove-legacy
May 12, 2025
Merged

Remove two small just-added tests#1188
dralley merged 2 commits into
pulp:mainfrom
dralley:remove-legacy

Conversation

@dralley
Copy link
Copy Markdown
Contributor

@dralley dralley commented May 12, 2025

We decided on a different behavior, no-op instead of outright failure.


from packaging.version import parse

if parse(click.__version__) < parse("8.1.1") or parse(click.__version__) >= parse("8.2"):
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

click 8.2 was just released, our pyproject.toml only requests for <9, so this fails now

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

"This is the Click 8.2.0 feature release. A feature release may include new features, remove previously deprecated code, add new deprecation, or introduce potentially breaking changes."
AKA we don't use semver... AAAARGH

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

tbf they didn't actually remove it, but the warning alone caused our CI to fail

@dralley
Copy link
Copy Markdown
Contributor Author

dralley commented May 12, 2025

Not sure what's up with the unittests

@dralley
Copy link
Copy Markdown
Contributor Author

dralley commented May 12, 2025

Well, it's nothing to do with my branch, it's a nightly issue https://github.com/pulp/pulp-cli/actions/runs/14963198913/job/42028538329

dralley added 2 commits May 12, 2025 09:49
We decided on a different behavior, no-op instead of outright failure.
@dralley dralley merged commit 6563fb9 into pulp:main May 12, 2025
19 checks passed
@dralley dralley deleted the remove-legacy branch May 12, 2025 14:12
@patchback
Copy link
Copy Markdown

patchback Bot commented May 12, 2025

Backport to 0.32: 💚 backport PR created

✅ Backport PR branch: patchback/backports/0.32/6563fb92bda7edbf044c1761b288c8b699eca605/pr-1188

Backported as #1195

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants