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 #662

Merged
merged 2 commits into from
May 2, 2024
Merged

Update to Python 3.11 #662

merged 2 commits into from
May 2, 2024

Conversation

robertknight
Copy link
Member

@robertknight robertknight commented May 1, 2024

#657 added support for Python 3.11 in pywb, so hopefully we can now update the project as a whole.

I also removed a workaround for macOS that appears to be obsolete with the latest Python and pywb versions.

In case it happens to anyone else: After updating to Python 3.11, make functests initially failed on my system with a SystemError: unknown opcode error. Removing my checkout of viahtml and running the tests in a fresh clone of the repo solved the issue.

With the current version of pywb, viahtml can be run on macOS (tested under
macOS 14.4) without this workaround.
@robertknight robertknight marked this pull request as ready for review May 1, 2024 10:20
@@ -1 +1 @@
3.8.12
3.11.7
Copy link
Member

Choose a reason for hiding this comment

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

Not that important but this is a minor version lower than the version in Dockerfile

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 copied this from h. Dependabot updates the Dockerfile but it doesn't know about .python-version, so we'll have this minor skew across our projects.

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 don't think we've ever seen problems due to Python minor version differences between what we use in dev and what the Docker container uses, but perhaps this could be bumped periodically by the cookiecutter or something? CC @seanh .

@marcospri
Copy link
Member

For: #505

Copy link
Member

@marcospri marcospri left a comment

Choose a reason for hiding this comment

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

Nice one, this is the last project that was not in 3.11

@robertknight robertknight merged commit 8087e1a into main May 2, 2024
4 checks passed
@robertknight robertknight deleted the python-3.11 branch May 2, 2024 08:36
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

2 participants