Skip to content

Conversation

@bmos
Copy link
Contributor

@bmos bmos commented Nov 8, 2025

Python 3.9 was first released 2020-10-05. It reaches official end-of-support 2025-10.
I'd suggest we remove support for Python 3.9 in December or Q1 2026 (to avoid negatively impacting Nov elections).

Closes #1519

Remove 3.9 support
Update python syntax to 3.10+ (No more Literal or Union imports! and add strict=False to zip())
Remove conditional dependencies only used for python <3.10
Update ruff command in pre-commit to resolve warning

All syntax changes required to merge old PRs into main after this is merged can be be handled by ruff check --fix

@bmos bmos changed the title Remove 3.9 Remove end-of-support python 3.9 Nov 8, 2025
@github-actions
Copy link

github-actions bot commented Nov 8, 2025

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  parsons/action_network
  action_network.py
  parsons/catalist
  catalist.py
  parsons/databases
  database_connector.py 151
  discover_database.py
  parsons/databases/postgres
  postgres.py 125
  postgres_core.py 65
  parsons/databases/redshift
  redshift.py 156
  parsons/databases/sqlite
  sqlite.py
  parsons/etl
  table.py
  tofrom.py
  parsons/formstack
  formstack.py
  parsons/google
  google_bigquery.py 1262, 1281-1282, 1406
  google_cloud_storage.py 68
  google_drive.py 34, 55-57, 71, 74, 84, 89-90, 108, 113-114
  utilities.py 64
  parsons/hustle
  hustle.py 585, 604-606
  parsons/nation_builder
  nation_builder.py
  parsons/newmode
  newmode.py 138, 191, 212-213, 235-236, 275-276, 294, 315-316, 334, 355-356, 376
  parsons/ngpvan
  van.py
  parsons/scytl
  scytl.py
  parsons/sftp
  sftp.py 305-306
  parsons/utilities
  oauth_api_connector.py
  parsons/utilities/dbt
  dbt.py 3-6, 14-15, 68
  logging.py 5-10, 175-181
  parsons/zoom
  zoom.py
Project Total  

The report is truncated to 25 files out of 27. To see the full report, please visit the workflow summary page.

This report was generated by python-coverage-comment-action

@shaunagm
Copy link
Collaborator

shaunagm commented Dec 4, 2025

@IanRFerguson @codybraun @sharinetmc just want to check that this won't negatively impact TMC?

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.

End Support of Python 3.9

2 participants