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

Remove pkg_resources usage #2505

Merged
merged 2 commits into from
Mar 5, 2023
Merged

Remove pkg_resources usage #2505

merged 2 commits into from
Mar 5, 2023

Conversation

luizirber
Copy link
Member

Close #2491

Similar to dib-lab/screed#100 but also dealing with entry_points (and the differences in stdlib for importlib.metadata...)

@luizirber luizirber requested a review from ctb March 5, 2023 00:51
@@ -78,7 +78,7 @@ dependencies = [
"deprecation>=2.0.6",
"cachetools>=4,<6",
"bitstring>=3.1.9,<5",
"importlib_metadata;python_version<'3.10'"
"importlib_metadata>=3.6;python_version<'3.10'"
Copy link
Member Author

Choose a reason for hiding this comment

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

this is to avoid having behavior differences in importlib_metadata

@codecov
Copy link

codecov bot commented Mar 5, 2023

Codecov Report

Merging #2505 (cd665b9) into latest (ba03b21) will increase coverage by 7.76%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           latest    #2505      +/-   ##
==========================================
+ Coverage   84.81%   92.58%   +7.76%     
==========================================
  Files         133      104      -29     
  Lines       14820    12025    -2795     
  Branches     2513     2513              
==========================================
- Hits        12570    11133    -1437     
+ Misses       1948      590    -1358     
  Partials      302      302              
Flag Coverage Δ
python 92.58% <100.00%> (-0.01%) ⬇️
rust ?

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

Impacted Files Coverage Δ
src/sourmash/__init__.py 100.00% <100.00%> (ø)
src/core/src/index/bigsi.rs
src/core/src/sketch/minhash.rs
src/core/src/index/sbt/mhbt.rs
src/core/src/errors.rs
src/core/tests/minhash.rs
src/core/src/sketch/nodegraph.rs
src/core/src/ffi/nodegraph.rs
src/core/src/index/linear.rs
src/core/src/ffi/mod.rs
... and 20 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@luizirber luizirber merged commit e9a7f1f into latest Mar 5, 2023
@luizirber luizirber deleted the lirber/purge_setuptools branch March 5, 2023 01:29
@ctb ctb mentioned this pull request Apr 6, 2023
1 task
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.

2 participants