refactor: move from deprecated pkg_resources#1202
refactor: move from deprecated pkg_resources#1202JGSweets wants to merge 16 commits intocapitalone:mainfrom
Conversation
c17b068 to
e11fe17
Compare
|
@ryanSoley Can we get a review on this? It will allow DP to continue working with new setuptools. Otherwise, this library will not work in system that utilize the most up to date setuptools |
|
@mhmotamedi any chances we could get a review on this for fixes? |
|
anything that needs to be done to get the other checks to pass or merge? Thanks! |
| return check_module | ||
|
|
||
|
|
||
| def find_resources_dir(resource_path: str | Path | None = None) -> Traversable: |
There was a problem hiding this comment.
Is there a unit test for this function?
There was a problem hiding this comment.
it is inherently checked by many the other unit / integration tests.
Do you want one specifically for this?
Are there inputs / outputs you specifically want to test?
There was a problem hiding this comment.
Hi @shania-m just want to bump this convo!
There was a problem hiding this comment.
Oh but there’s no specific unit test just for the function? Is it possible to add some?
|
Just approved the #1205 we can merge this once that’s done. Thank you! |
|
@JGSweets please update this branch, I’ll reapprove ! Thanks |
3d23362 to
3657590
Compare
|
@shania-m updated! accidentally added an extra assert on the rebase which i fixed. Also noted that the pre-commit still had the old chardet so i resolved that too Should be ready! |
| @@ -1,14 +1,17 @@ | |||
| pass | |||
There was a problem hiding this comment.
Why do we need this pass here?
There was a problem hiding this comment.
accidental add when working with pre-commit and swapping between branches
| import unittest | ||
| from io import StringIO | ||
|
|
||
| pass |
There was a problem hiding this comment.
accidental add when working with pre-commit and swapping between branches
|
@shania-m good catch, i've removed the |
|
@shania-m all tests passed, anything else i need to resolve? Thanks! |
|
once this is in i'll work on the tensorflow update so we can be on the newest TF version |
this pr:
include_package_datainstead ofdata_files<3.0.0