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] Do not depend on setuptools>=52 #1235

Merged
merged 6 commits into from
Aug 10, 2021

Conversation

kennymckormick
Copy link
Member

No description provided.

setup.py Outdated Show resolved Hide resolved
@kennymckormick kennymckormick changed the title [Fix] Do not depend on setuptools>=52 [WIP] Do not depend on setuptools>=52 Aug 2, 2021
@kennymckormick kennymckormick changed the title [WIP] Do not depend on setuptools>=52 [Fix] Do not depend on setuptools>=52 Aug 2, 2021
@zhouzaida zhouzaida requested a review from innerlee August 2, 2021 08:05
@innerlee
Copy link
Contributor

innerlee commented Aug 4, 2021

See concerns here #1185 (comment)

@codecov
Copy link

codecov bot commented Aug 6, 2021

Codecov Report

Merging #1235 (09b9af5) into master (94a677d) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1235   +/-   ##
=======================================
  Coverage   68.28%   68.28%           
=======================================
  Files         160      160           
  Lines       10603    10603           
  Branches     1937     1938    +1     
=======================================
  Hits         7240     7240           
  Misses       2979     2979           
  Partials      384      384           
Flag Coverage Δ
unittests 68.28% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
mmcv/utils/version_utils.py 68.08% <100.00%> (ø)
mmcv/version.py 82.35% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 94a677d...09b9af5. Read the comment docs.

@kennymckormick
Copy link
Member Author

@zhouzaida CI passed

mmcv/version.py Outdated Show resolved Hide resolved
@zhouzaida zhouzaida mentioned this pull request Aug 9, 2021
18 tasks
@ZwwWayne ZwwWayne merged commit 9341856 into open-mmlab:master Aug 10, 2021
@@ -32,6 +30,6 @@ def parse_version_info(version_str: str, length: int = 4) -> tuple:
return tuple(release)


version_info = parse_version_info(__version__)
version_info = tuple(int(x) for x in __version__.split('.')[:3])
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do not use parse_version_info here though you wrote it?

Copy link
Member Author

Choose a reason for hiding this comment

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

When you execute this line during setup, "packaging" may not exist.

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.

4 participants