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

Drop Python 3.7 Support #12355

Merged
merged 6 commits into from May 12, 2023
Merged

Conversation

vcidst
Copy link
Contributor

@vcidst vcidst commented May 4, 2023

Proposed changes:

  • Python 3.7 is approaching its end-of-life soon. Let's drop support for it.
  • This involves updating the changes in dependencies, documentation, and CI Scripts.

Status (please check what you already did):

  • added some tests for the functionality
  • updated the documentation
  • updated the changelog (please check changelog for instructions)
  • reformat files using black (please check Readme for instructions)

@vcidst vcidst requested a review from a team as a code owner May 4, 2023 08:24
@vcidst vcidst requested review from rasa-aadlv and removed request for a team May 4, 2023 08:24
@@ -148,7 +148,7 @@ jobs:
if: needs.changes.outputs.backend == 'true'
run: |
sudo apt-get -y install libpq-dev
make install-full
make install-full || make install-full
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add comments to document why we are repeating dependency install for future reference.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was just experimenting with the failed tests in CI, I've removed these changes from this PR

@github-actions
Copy link
Contributor

🚀 A preview of the docs have been deployed at the following URL: https://12355--rasahq-docs-rasa-v2.netlify.app/docs/rasa

@vcidst vcidst merged commit 6541220 into main May 12, 2023
106 checks passed
@vcidst vcidst deleted the ATO-881-Drop-support-for-Python-3.7-in-Rasa-OSS branch May 12, 2023 13:40
@@ -87,7 +87,7 @@ line-length = 88
select = [ "D", "E", "F", "W", "RUF",]

[tool.poetry.dependencies]
python = ">=3.7,<3.11"
python = ">=3.8,<3.11"
Copy link
Collaborator

Choose a reason for hiding this comment

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

@vcidst I just noticed that the target-version in the pyproject.toml hasn't been updated above

target-version = [ "py37", "py38", "py39", "py310",]

(I also found another occurrence of 3.7 in this file that needs updating (it's not breaking anything but could be confusing))

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

4 participants