Skip to content

Fix DeprecationWarning: invalid escape sequence in versioneer.py #24636

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

Merged
merged 4 commits into from
Jan 5, 2019
Merged

Fix DeprecationWarning: invalid escape sequence in versioneer.py #24636

merged 4 commits into from
Jan 5, 2019

Conversation

BoboTiG
Copy link
Contributor

@BoboTiG BoboTiG commented Jan 5, 2019

Hello,

This is a little patch to fix a DeprecationWarning: invalid escape sequence in versioneer.py.

  • closes #xxxx
  • tests added / passed
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
@pep8speaks
Copy link

pep8speaks commented Jan 5, 2019

Hello @BoboTiG! Thanks for updating the PR.

Cheers ! There are no PEP8 issues in this Pull Request. 🍻

Comment last updated on January 05, 2019 at 15:37 Hours UTC

@codecov
Copy link

codecov bot commented Jan 5, 2019

Codecov Report

Merging #24636 into master will decrease coverage by 49.37%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master   #24636       +/-   ##
===========================================
- Coverage   92.38%      43%   -49.38%     
===========================================
  Files         166      166               
  Lines       52395    52395               
===========================================
- Hits        48403    22534    -25869     
- Misses       3992    29861    +25869
Flag Coverage Δ
#multiple ?
#single 43% <ø> (ø) ⬆️
Impacted Files Coverage Δ
pandas/io/formats/latex.py 0% <0%> (-100%) ⬇️
pandas/core/categorical.py 0% <0%> (-100%) ⬇️
pandas/io/sas/sas_constants.py 0% <0%> (-100%) ⬇️
pandas/tseries/plotting.py 0% <0%> (-100%) ⬇️
pandas/tseries/converter.py 0% <0%> (-100%) ⬇️
pandas/io/formats/html.py 0% <0%> (-99.37%) ⬇️
pandas/core/groupby/categorical.py 0% <0%> (-95.46%) ⬇️
pandas/io/sas/sas7bdat.py 0% <0%> (-91.17%) ⬇️
pandas/io/sas/sas_xport.py 0% <0%> (-90.15%) ⬇️
pandas/core/tools/numeric.py 10.44% <0%> (-89.56%) ⬇️
... and 124 more

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 cb31b2b...4790787. Read the comment docs.

@codecov
Copy link

codecov bot commented Jan 5, 2019

Codecov Report

Merging #24636 into master will decrease coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #24636      +/-   ##
==========================================
- Coverage   92.38%   92.37%   -0.01%     
==========================================
  Files         166      166              
  Lines       52395    52379      -16     
==========================================
- Hits        48403    48386      -17     
- Misses       3992     3993       +1
Flag Coverage Δ
#multiple 90.8% <ø> (-0.01%) ⬇️
#single 43.01% <ø> (+0.01%) ⬆️
Impacted Files Coverage Δ
pandas/core/internals/construction.py 95.93% <0%> (-0.75%) ⬇️
pandas/core/arrays/datetimes.py 97.85% <0%> (-0.17%) ⬇️
pandas/util/testing.py 88% <0%> (-0.1%) ⬇️
pandas/io/formats/html.py 99.34% <0%> (-0.03%) ⬇️
pandas/core/indexes/datetimelike.py 98.51% <0%> (-0.02%) ⬇️
pandas/core/indexing.py 93.87% <0%> (ø) ⬆️
pandas/core/frame.py 96.92% <0%> (ø) ⬆️
pandas/core/generic.py 96.62% <0%> (ø) ⬆️
pandas/core/nanops.py 94.36% <0%> (ø) ⬆️
pandas/core/arrays/categorical.py 95.41% <0%> (ø) ⬆️
... and 9 more

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 cb31b2b...16a51c4. Read the comment docs.

@@ -1731,6 +1731,7 @@ Other

- Bug where C variables were declared with external linkage causing import errors if certain other C libraries were imported before Pandas. (:issue:`24113`)
- Require at least 0.28.2 version of ``cython`` to support read-only memoryviews (:issue:`21688`)
- Fixing a `DeprecationWarning`: invalid escape sequence in versioneer.py (:issue:`24636`)
Copy link
Contributor

Choose a reason for hiding this comment

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

this is not needed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done, I was not sure at first and added it after :)

@jreback jreback added the Compat pandas objects compatability with Numpy or Python functions label Jan 5, 2019
This reverts commit 4790787.
@jreback jreback added this to the 0.24.0 milestone Jan 5, 2019
@jreback
Copy link
Contributor

jreback commented Jan 5, 2019

lgtm. ping on green.

@jreback jreback merged commit eace81c into pandas-dev:master Jan 5, 2019
@jreback
Copy link
Contributor

jreback commented Jan 5, 2019

thanks!

@BoboTiG BoboTiG deleted the fix-invalid-seq-warnings branch January 5, 2019 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compat pandas objects compatability with Numpy or Python functions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants