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

Run tests with Python 3.9 #182

Merged
merged 11 commits into from
Feb 4, 2022
Merged

Run tests with Python 3.9 #182

merged 11 commits into from
Feb 4, 2022

Conversation

gcbeltramini
Copy link
Contributor

@gcbeltramini gcbeltramini commented Dec 30, 2021

Status

READY

Background context

Some libraries are dropping support to Python 3.6, such as pip, so we need to prepare to support later versions of Python.

Description of the changes proposed in the pull request

Add test in CircleCI to run in an image with Python 3.9. A new version doesn't have to be released, because only test files were modified.

Where should the reviewer start?

File .circleci/config.yml then the Python files.

Remaining problems or questions

The step "Install package" takes about 10 minutes to run in Python 3.9, probably due to scikit-learn (in Python 3.6 they take ~1 minute); and the unit tests take ~15 minutes (in Python 3.6 they take ~1 minute).

@codecov-commenter
Copy link

codecov-commenter commented Feb 3, 2022

Codecov Report

Merging #182 (814739f) into master (3cd7bec) will decrease coverage by 0.40%.
The diff coverage is 92.84%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #182      +/-   ##
==========================================
- Coverage   94.69%   94.28%   -0.41%     
==========================================
  Files          25       32       +7     
  Lines        1507     1942     +435     
  Branches      203      258      +55     
==========================================
+ Hits         1427     1831     +404     
- Misses         48       76      +28     
- Partials       32       35       +3     
Impacted Files Coverage Δ
src/fklearn/causal/validation/cate.py 0.00% <0.00%> (ø)
src/fklearn/data/datasets.py 100.00% <ø> (ø)
src/fklearn/tuning/parameter_tuners.py 79.48% <ø> (ø)
src/fklearn/tuning/selectors.py 90.47% <ø> (ø)
src/fklearn/validation/validator.py 91.17% <71.42%> (-3.11%) ⬇️
src/fklearn/preprocessing/splitting.py 95.00% <92.59%> (-0.84%) ⬇️
src/fklearn/training/calibration.py 96.36% <94.73%> (-3.64%) ⬇️
src/fklearn/training/transformation.py 93.95% <95.12%> (+0.02%) ⬆️
src/fklearn/training/regression.py 97.91% <95.45%> (-0.45%) ⬇️
src/fklearn/validation/evaluators.py 93.95% <96.29%> (+4.32%) ⬆️
... and 16 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 94f77bc...814739f. Read the comment docs.

@gcbeltramini gcbeltramini marked this pull request as ready for review February 3, 2022 23:58
@gcbeltramini gcbeltramini requested a review from a team as a code owner February 3, 2022 23:58
Copy link
Contributor

@tatasz tatasz left a comment

Choose a reason for hiding this comment

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

We go for it and if something breaks later on we fix it.

@gcbeltramini gcbeltramini merged commit ff06c2b into master Feb 4, 2022
@gcbeltramini gcbeltramini deleted the python3.9 branch February 4, 2022 14:13
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.

None yet

3 participants