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 Python 3.12 to test matrix as upper bound and fix findings #559

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

dbast
Copy link
Contributor

@dbast dbast commented May 16, 2024

This is done in advance to open the door for upgrading to newer Python versions on seeedsigner-os at any time.

Fixes / required changes:

  • Fix E ValueError: mutable default <class 'seedsigner.views.view.Destination'> for field next_destination is not allowed: use default_factory
  • Install package during CI with pip instead of calling the setup.py (which got deprecated a while a ago and breaks with Python 3.11/3.12)
  • Update Pillow version to 10.0.1 = first version with Python 3.12 support

Description

Describe the change simply. Provide a reason for the change.

Include screenshots of any new or modified screens (or at least explain why they were omitted)

This pull request is categorized as a:

  • New feature
  • Bug fix
  • Code refactor
  • Documentation
  • Other

Checklist

  • I’ve run pytest and made sure all unit tests pass before sumbitting the PR

If you modified or added functionality/workflow, did you add new unit tests?

  • No, I’m a fool
  • Yes
  • N/A

I have tested this PR on the following platforms/os:

Note: Keep your changes limited in scope; if you uncover other issues or improvements along the way, ideally submit those as a separate PR. The more complicated the PR the harder to review, test, and merge.

This is done in advance to open the door for upgrading to newer Python
versions on seeedsigner-os at any time.

Fixes / required changes:
* Fix `E   ValueError: mutable default <class 'seedsigner.views.view.Destination'> for field next_destination is not allowed: use default_factory`
* Install package during CI with pip instead of calling the setup.py (which
  got deprecated a while a ago and breaks with Python 3.11/3.12)
* Update Pillow version to 10.0.1 = first version with Python 3.12 support
@newtonick
Copy link
Collaborator

ACK and tested

@newtonick newtonick merged commit b07292f into SeedSigner:dev Jul 5, 2024
2 checks passed
@dbast dbast deleted the py312 branch July 5, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Merged Not Yet Released
Development

Successfully merging this pull request may close these issues.

2 participants