Skip to content

Don't string-compare version numbers#4308

Merged
asottile merged 1 commit into
pytest-dev:masterfrom
asottile:compare_versions_with_loose_version
Nov 5, 2018
Merged

Don't string-compare version numbers#4308
asottile merged 1 commit into
pytest-dev:masterfrom
asottile:compare_versions_with_loose_version

Conversation

@asottile

@asottile asottile commented Nov 5, 2018

Copy link
Copy Markdown
Member

Resolves #4306

@asottile

asottile commented Nov 5, 2018

Copy link
Copy Markdown
Member Author

the py37 job seems pretty sad for this change :S

it passes locally however:

  py37: commands succeeded
  congratulations :)

@RonnyPfannschmidt RonnyPfannschmidt left a comment

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.

failure is unrelated, i'd prefer if we used or followed up with or used either a recent setuptools version parse or a packaging version parse

@asottile asottile merged commit 176d274 into pytest-dev:master Nov 5, 2018
@asottile asottile deleted the compare_versions_with_loose_version branch November 5, 2018 20:42
@blueyed

blueyed commented Nov 5, 2018

Copy link
Copy Markdown
Contributor

@RonnyPfannschmidt

i'd prefer if we used or followed up with or used either a recent setuptools version parse or a packaging version parse

Please create an issue then.

Altogether I would have liked to see a regression test for this also.

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.

3 participants