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

Update to python 3.11 #66

Merged
merged 2 commits into from
Oct 24, 2023
Merged

Update to python 3.11 #66

merged 2 commits into from
Oct 24, 2023

Conversation

ss7886
Copy link
Contributor

@ss7886 ss7886 commented Oct 23, 2023

Update environment.yml to allow python 3.10 and 3.11 and update Github actions to test both versions for all platforms.

@codecov
Copy link

codecov bot commented Oct 23, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (66c48e7) 98.37% compared to head (a166f87) 98.37%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #66   +/-   ##
=======================================
  Coverage   98.37%   98.37%           
=======================================
  Files        1773     1773           
  Lines       26463    26463           
  Branches      176      176           
=======================================
  Hits        26034    26034           
  Misses        398      398           
  Partials       31       31           
Flag Coverage Δ
unittests 98.37% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rickecon rickecon linked an issue Oct 24, 2023 that may be closed by this pull request
2 tasks
@rickecon
Copy link
Collaborator

@ss7886. This looks great. Thanks Sam. I just need you to add the following four things to this PR, then I can merge it. And the easiest way to do this is in the following order.

  • Merge in the changes to your PR branch from the PR that was merged in today:
    • Navigate to your main branch in your terminal
    • Update your fork's main branch with the new stuff from the CGO main branch: (i) git fetch upstream, (ii) git merge upstream/main, (iii) git push origin main.
    • Usually, you would make these changes in a branch that is not your main branch. But this will work fine.
    • You shouldn't have any merge conflicts. But resolve them if you do.
  • Update the version in setup.py to 0.2.5
  • Add the following entry to the top of CHANGELOG.md and the last line to the last section of CHANGELOG.md
## [0.2.5] - 2023-10-24 17:00:00

### Added

- Updates `environment.yml` and `build_and_test.yml` to allow for Python 3.10 and 3.11

[THEN PUT THIS NEXT LINE AT THE TOP OF THE LAST SECTION WITH A CARRIAGE RETURN SO THERE ARE TWO LINES BETWEEN THE END OF THE CHANGELOG AND THESE LINKS]
[0.2.5]: https://github.com/TheCGO/fiscalsim-us/compare/v0.2.4...v0.2.5
  • Add the following entry at the end of changelog.yaml
- bump: patch
  changes:
    added:
      - Updates `environment.yml` and `build_and_test.yml` to allow for Python 3.10 and 3.11
  date: 2023-10-24 17:00:00

Once you submit these commits to your branch, I will merge it in.

@rickecon
Copy link
Collaborator

@ss7886 Scratch those changes. I am going to merge this, and updated the version in the next PR. Thanks.

@rickecon rickecon merged commit 3122208 into TheCGO:main Oct 24, 2023
10 checks passed
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.

Add Python 3.11 capability
2 participants