Skip to content

tests: make tests compatible with core > 1.1.0a7#5589

Merged
abn merged 1 commit into
python-poetry:masterfrom
radoering:fix-normalize-version-tests
May 10, 2022
Merged

tests: make tests compatible with core > 1.1.0a7#5589
abn merged 1 commit into
python-poetry:masterfrom
radoering:fix-normalize-version-tests

Conversation

@radoering
Copy link
Copy Markdown
Member

@radoering radoering commented May 10, 2022

Downstream tests in poetry-core did not fail in python-poetry/poetry-core#344 and in master after merging, but are failing in new PRs!?

@radoering radoering force-pushed the fix-normalize-version-tests branch from ea11862 to 7b79f15 Compare May 10, 2022 20:27
@radoering radoering requested a review from a team May 10, 2022 20:37
Comment thread tests/console/commands/test_version.py Outdated
def test_increment_version(
version: str, rule: str, expected: str, command: VersionCommand
):
if not parse_constraint(">1.1.0a7").allows(
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.

We should probably move all these into a compat variable in test utils. So we can remove them easily.

@radoering radoering force-pushed the fix-normalize-version-tests branch from 7b79f15 to 8743a71 Compare May 10, 2022 20:49
@abn abn merged commit d607020 into python-poetry:master May 10, 2022
@github-actions
Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Feb 29, 2024
@radoering radoering deleted the fix-normalize-version-tests branch November 24, 2024 12:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants