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

Add support for Python 3.8 #1168

Open
wants to merge 39 commits into
base: master
Choose a base branch
from
Open

Add support for Python 3.8 #1168

wants to merge 39 commits into from

Conversation

bonjourmauko
Copy link
Member

@bonjourmauko bonjourmauko commented Dec 1, 2022

Fixes #1035
Fixes #1153
Fixes #1058
Fixes #1111

Breaking changes

  • Drop support for NumPy < 1.20
  • Drop support for Python < 3.7

New features

  • Add support for Python 3.8
  • Add CI for Windows

@bonjourmauko bonjourmauko force-pushed the test-python-3-matrix branch 30 times, most recently from c368d4a to addb116 Compare December 2, 2022 08:19
@bonjourmauko
Copy link
Member Author

Hi @MattiSG, please let me know if you're OK with these changes. I removed the web triggered part to reduce scope.

Comment on lines +3 to +5
on:
pull_request:
types: [assigned, opened, reopened, synchronize, ready_for_review]
Copy link
Contributor

@benoit-cty benoit-cty Jan 26, 2023

Choose a reason for hiding this comment

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

After this PR, the CI will not run on push outside a Pull Request.

Curent behavior is to run on all push : on: [ push, pull_request, workflow_dispatch ].

See also : openfisca/openfisca-france#1788 (comment)

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, I removed it to easy review. But I can readd it. I'll do.

strategy:
fail-fast: true
matrix:
os: [ubuntu-20.04, windows-latest]
Copy link
Contributor

@benoit-cty benoit-cty Jan 26, 2023

Choose a reason for hiding this comment

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

Can you add a comment to explain why you use old ubuntu-20.04 instead of ubuntu-22.04 ?
Because the Python version between Windows-latest and Ubuntu 22.04 did not match, cf https://github.com/raw/actions/python-versions/main/versions-manifest.json ?
See my failing test on https://github.com/openfisca/openfisca-core/actions/runs/4015575836

Copy link
Member Author

Choose a reason for hiding this comment

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

I think in the time between this PR was open Github also updated windows.

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.

Misleading warning about PyYAML Test Python 3.8
4 participants