Skip to content

fix(tests): compatibility with Pandas 1.5 #503

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 1 commit into from
Sep 29, 2022
Merged

fix(tests): compatibility with Pandas 1.5 #503

merged 1 commit into from
Sep 29, 2022

Conversation

bednar
Copy link
Contributor

@bednar bednar commented Sep 21, 2022

Related to https://app.circleci.com/pipelines/github/influxdata/influxdb-client-python/2046/workflows/8fdf747c-83b7-4fed-a1e7-647c216f211f

Proposed Changes

Use correct start bound for PeriodIndex to be compatible with Pandas 1.5.

image

Checklist

  • Rebased/mergeable
  • pytest tests completes successfully
  • Commit messages are conventional
  • Sign CLA (if not already signed)

@bednar bednar marked this pull request as ready for review September 21, 2022 18:55
@codecov-commenter
Copy link

codecov-commenter commented Sep 21, 2022

Codecov Report

Base: 90.39% // Head: 90.59% // Increases project coverage by +0.19% 🎉

Coverage data is based on head (33c4cdc) compared to base (da73522).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #503      +/-   ##
==========================================
+ Coverage   90.39%   90.59%   +0.19%     
==========================================
  Files          39       39              
  Lines        3353     3380      +27     
==========================================
+ Hits         3031     3062      +31     
+ Misses        322      318       -4     
Impacted Files Coverage Δ
influxdb_client/client/flux_csv_parser.py 98.38% <0.00%> (+0.02%) ⬆️
influxdb_client/client/write/point.py 96.77% <0.00%> (+0.06%) ⬆️
influxdb_client/_sync/api_client.py 73.11% <0.00%> (+0.29%) ⬆️
influxdb_client/client/write_api.py 99.03% <0.00%> (+0.50%) ⬆️
influxdb_client/_async/api_client.py 64.15% <0.00%> (+0.52%) ⬆️
influxdb_client/client/_base.py 97.35% <0.00%> (+0.62%) ⬆️
influxdb_client/configuration.py 87.64% <0.00%> (+0.89%) ⬆️
influxdb_client/client/util/helpers.py 100.00% <0.00%> (+3.57%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@bednar bednar requested a review from powersj September 21, 2022 18:56
Copy link
Contributor

@powersj powersj left a comment

Choose a reason for hiding this comment

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

LGTM

@powersj powersj merged commit 6d1313c into master Sep 29, 2022
@powersj powersj deleted the fix-pandas-1.5 branch September 29, 2022 19:52
@bednar bednar added this to the 1.34.0 milestone Sep 30, 2022
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.

3 participants