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

Prep minor release to support Python 3.8 and above versions #54

Merged
merged 137 commits into from
Sep 24, 2023

Conversation

amruthvvkp
Copy link
Owner

@amruthvvkp amruthvvkp commented Sep 8, 2023

resolves #53 , #52

This change intends to push in a minor release to support Python 3.8 and above versions which was missing in the earlier v.0.0.7 release.

Changes in this PR are cherry picked from #46 .

Changelog

  • Added pre-commit configuration to streamline commit quality
  • Added support for Python versions 3.8 to 3.11, it may not support 3.12 at the moment.
  • Upgraded to Pydantic v2 supported data models.
  • Updated GitHub actions dependencies.
  • Fixed broken Pytests.

GitHub Actions Improvements

  • PR checks now include pre-commit tests, linting, formatting error checks.
  • PyTests are executed against Python versions including 3.7, 3.8, 3.9, 3.10, 3.11 on Appvoyer.
  • Pre-commit now generate seperate requirements files for core dependencies, Dev and unit testing.
  • Pytest and Pre-Commit check results are summarized on PR. These get updated if checks are re-run again.
  • On creation of PR - a Pre-release version of the package is built and published to Test PyPI a comment would be included in the PR marking the release.
  • GitHub releases will support upgrades of the project version, matching the GitHub release tag.
  • GitHub releases will trigger a change in pyproject.toml and commit the changes back to master on successful release.

@amruthvvkp amruthvvkp added the enhancement New feature or request label Sep 8, 2023
@amruthvvkp amruthvvkp self-assigned this Sep 8, 2023
* Allows testing on 3.9, 3.10, 3.11
* Uses actions/setup-python@v4
* Uses actions/checkout@v4
Updated Python version in pyproject.toml
…se Poetry

GitHub actions will now summarize deployments to Test PyPI
…GitHub actions summary

Fixed pre-commit not found on PR checks
Updated permissions for GitHub actions to write back to the PR
Downgraded project version to 0.0.7
Removed unused VS Code tasks
Removed unused Notebooks
Removed wrappers_temp
Fixes #53
Fixed an issue where we are unable to push commits since git isn't checkedout as a repo
Added more conditional checks to PR checks
Renamed GitHub actions to PR Checks
Fixes #53
Added more conditional checks to PR checks
Renamed GitHub actions to PR Checks
Fixes #53
@varshithvvs varshithvvs reopened this Sep 24, 2023
@varshithvvs varshithvvs merged commit dfa7281 into master Sep 24, 2023
1 check passed
@varshithvvs varshithvvs deleted the amruthvvkp/issue53 branch September 24, 2023 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
3 participants