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

Switch from pkg_resources importlib-metadata #1071

Merged
merged 1 commit into from
Jul 5, 2019

Conversation

davidszotten
Copy link
Contributor

See e.g. pypa/setuptools#510 (comment)

On a moderatly large project (~200 installed packages) at $work this saves ~150 ms on
python -c 'from kombu import Exchange'

@davidszotten
Copy link
Contributor Author

looks like appveyor failed to install some unrelated dependency

@auvipy auvipy self-assigned this Jul 5, 2019
Copy link
Member

@auvipy auvipy left a comment

Choose a reason for hiding this comment

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

fix the flake8

See e.g. pypa/setuptools#510 (comment)

On a moderatly large project (~200 packages) at $work this saves ~150 ms on
`python -c 'from kombu import Exchange'`
@codecov
Copy link

codecov bot commented Jul 5, 2019

Codecov Report

Merging #1071 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1071      +/-   ##
==========================================
- Coverage   88.62%   88.62%   -0.01%     
==========================================
  Files          64       64              
  Lines        6692     6689       -3     
  Branches      805      805              
==========================================
- Hits         5931     5928       -3     
  Misses        668      668              
  Partials       93       93
Impacted Files Coverage Δ
kombu/utils/compat.py 89.83% <100%> (-0.5%) ⬇️

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 052f760...c3666a4. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented Jul 5, 2019

Codecov Report

Merging #1071 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1071      +/-   ##
==========================================
- Coverage   88.62%   88.62%   -0.01%     
==========================================
  Files          64       64              
  Lines        6692     6689       -3     
  Branches      805      805              
==========================================
- Hits         5931     5928       -3     
  Misses        668      668              
  Partials       93       93
Impacted Files Coverage Δ
kombu/utils/compat.py 89.83% <100%> (-0.5%) ⬇️

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 052f760...c3666a4. Read the comment docs.

@auvipy
Copy link
Member

auvipy commented Jul 5, 2019

should we wait for this change into a major version like 4.7?

@davidszotten
Copy link
Contributor Author

don't feel strongly either way. what's the typical release cadence for major and minor (=patch?) versions atm?

i should also note that i don't use any kombu plugins myself. i made a dummy one to check this works (since the tests mock it out) but it would be good with some more tests if you know of projects making use of plugins

@auvipy
Copy link
Member

auvipy commented Sep 4, 2019

report about breakage of kombu with py2.7 here #1096 could you check?

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