-
Notifications
You must be signed in to change notification settings - Fork 169
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
[BUG] address issue #1201 #1203
Conversation
for more information, see https://pre-commit.ci
Codecov Report
@@ Coverage Diff @@
## dev #1203 +/- ##
==========================================
- Coverage 98.04% 97.98% -0.06%
==========================================
Files 76 76
Lines 3522 3524 +2
==========================================
Hits 3453 3453
- Misses 69 71 +2 |
@Zeroto521 thoughts? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@samukweku do you remember if we are standardizing on built-in types or typing module types?
If we are using built-in types, then this PR may not be necessary. However, if we want compatibility with previous versions of python, then using built-in typing library types might be what we want to do.
To compat py3.8 just add |
I more care about the reason why #1143 PR's py3.8 env didn't raise the error. Originally posted by @Zeroto521 in #1143 (comment) |
@ericmjl not really. @Zeroto521 suggestion makes sense. Although I wonder why it didn't raise error as well during @Zeroto521 tests in #1143 . Wonder what is missing |
@xujiboy I just resolved the conflicts here. Let's see what happens with the test coverage. |
@Zeroto521 question, do you think we should adopt an official "supported Python versions" policy? We could follow something like NumPy's or pandas' official policy for supported Python versions. |
Oh, @xujiboy I just realized that this PR is a duplicate of another PR: #1202. Because this PR has been reviewed more extensively and already has the changelog line inside it, I think we should keep this one open. That said, I would like to credit both you and @joranbeasley in the changelog here for taking the effort to make a PR that solves the issue outlined in #1201. |
FYI I'm not worried about the minor decrease in test coverage, and we can safely merge if we get one other approval. |
Thank you very much @ericmjl |
If we decide to merge this pr. There have some other places that need to be updated.
Originally posted by @Zeroto521 in #1200 (comment) |
I think we're good, b/c @samukweku has pushed code (which kind of constitutes an approval too!). @Zeroto521 would you like to do the honors of merging? |
PR Description
Please describe the changes proposed in the pull request:
import janitor
causingTypeError
#1201This PR resolves #(put issue number here, and remove parentheses).
PR Checklist
Please ensure that you have done the following:
<your_username>
:dev
, but rather from<your_username>
:<feature-branch_name>
.AUTHORS.md
.CHANGELOG.md
under the latest version header (i.e. the one that is "on deck") describing the contribution.Automatic checks
There will be automatic checks run on the PR. These include:
Relevant Reviewers
Please tag maintainers to review.