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

Fix support for Python 3.9 #136

Merged
merged 3 commits into from
Dec 24, 2024
Merged

Fix support for Python 3.9 #136

merged 3 commits into from
Dec 24, 2024

Conversation

dlqqq
Copy link
Member

@dlqqq dlqqq commented Dec 24, 2024

Description

  • Closes jupyterlab-chat==0.7.0 fails in Python 3.9 #134.
  • Adds a GitHub job for running Python unit tests on Python 3.9. I've verified that this job catches the original issue, ensuring it will not happen again. See below for more details.
  • Fixes Python 3.9 support for jupyterlab_chat.

@dlqqq dlqqq added the bug Something isn't working label Dec 24, 2024
Copy link
Contributor

Binder 👈 Launch a Binder on branch dlqqq/jupyter-chat/fix-070

Comment on lines +43 to +51
name: Python unit tests (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
needs: build_jupyter-chat
name: Python test on extensions
strategy:
fail-fast: false
matrix:
include:
- python-version: '3.9'
- python-version: '3.12'
Copy link
Member Author

Choose a reason for hiding this comment

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

These are the only effective changes to the workflows. All other changes just fix the indentation of this YML file, and were performed automatically by my IDE's linter.

@dlqqq
Copy link
Member Author

dlqqq commented Dec 24, 2024

The original issue is now caught by a failing job, ensuring that this will not happen again: https://github.com/jupyterlab/jupyter-chat/actions/runs/12486748288/job/34847209610?pr=136

I will now push changes to this branch to fix the issue and mark it as ready for review. Since nobody else is here over the holidays, I'll just merge once CI passes. I've documented everything maintainers need to know in this thread.

@dlqqq dlqqq marked this pull request as ready for review December 24, 2024 22:57
@dlqqq dlqqq merged commit e346594 into jupyterlab:main Dec 24, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

jupyterlab-chat==0.7.0 fails in Python 3.9
1 participant