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

Edits calitp-data-analysis packages versions so it works with python 3.11 #3357

Merged
merged 2 commits into from
May 24, 2024

Conversation

vevetron
Copy link
Contributor

@vevetron vevetron commented May 24, 2024

Finding fixes so calitp-data-analysis actually gets built. Locks down packages so tests pass.

Previously sqlalchemy 2.0.3 was loaded and it did not like how the package was written - sqlalchemy 2.0+ has new ways to write certain functions.

In the future we should unlock the packages and rewrite the sql.py so it conforms to sqlalchemy 2.0.3.

Description

In #3355 didn't get built because github actions was building in python 3.9, not python 3.11

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

How has this been tested?

Built locally with poetry install using python 3.11
Ran pytest

Post-merge follow-ups

  • No action required
  • Actions required (specified below)
    Test poetry install of jupyter-single user using this package version

@vevetron vevetron changed the title fix(calitp-data-analysis): bump package number so it gets built this … Fixes calitp-data-analysis so it works with python 3.11 May 24, 2024
@vevetron vevetron force-pushed the update_calitp_data_analysis branch from 51d645e to ba99fc5 Compare May 24, 2024 05:29
@vevetron vevetron changed the title Fixes calitp-data-analysis so it works with python 3.11 Edits calitp-data-analysis packages versions so it works with python 3.11 May 24, 2024
V added 2 commits May 24, 2024 10:50
fix(calitp-data-analysis): locks down packages to what keeps sqlalchemy below 2.0.0 and code needs to be rewritten, hacky solution I know
@vevetron vevetron force-pushed the update_calitp_data_analysis branch from ba99fc5 to 01615ec Compare May 24, 2024 17:50
@vevetron vevetron merged commit 737099a into main May 24, 2024
2 checks passed
@vevetron vevetron deleted the update_calitp_data_analysis branch May 24, 2024 17:54
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.

2 participants