-
Notifications
You must be signed in to change notification settings - Fork 616
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
Remove Python 3.9 in favour of 3.10 as minimum #6223
Conversation
[sc-65091] |
Hello. You may have forgotten to update the changelog!
|
Related works: PennyLaneAI/pennylane-lightning#891 PennyLaneAI/catalyst#1104 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6223 +/- ##
==========================================
- Coverage 99.65% 99.60% -0.06%
==========================================
Files 446 445 -1
Lines 42536 42362 -174
==========================================
- Hits 42390 42193 -197
- Misses 146 169 +23 ☔ View full report in Codecov by Sentry. |
Starting Python 3.10 we can use |
…nto dep/remove_py_39
…nto dep/remove_py_39
Note: all CI test labels will be updated before merging. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm surprised pylint isn't breaking. Maybe worth running CI with the full suite before merging.
Do we want to pin |
Yep, good call. I'll add the label and retrigger. |
I think this is fine to leave free for now. |
**Context:** This PR removes support for Python 3.9 and migrates to 3.10 as the oldest supported version. **Description of the Change:** **Benefits:** **Possible Drawbacks:** **Related GitHub Issues:** PennyLaneAI/pennylane-lightning#891 PennyLaneAI/pennylane#6223
### Before submitting Please complete the following checklist when submitting a PR: - [x] All new features must include a unit test. If you've fixed a bug or added code that should be tested, add a test to the test directory! - [x] All new functions and code must be clearly commented and documented. If you do make documentation changes, make sure that the docs build and render correctly by running `make docs`. - [x] Ensure that the test suite passes, by running `make test`. - [x] Add a new entry to the `doc/releases/changelog-dev.md` file, summarizing the change, and including a link back to the PR. - [x] The PennyLane source code conforms to [PEP8 standards](https://www.python.org/dev/peps/pep-0008/). We check all of our code against [Pylint](https://www.pylint.org/). To lint modified files, simply `pip install pylint`, and then run `pylint pennylane/path/to/file.py`. When all the above are checked, delete everything above the dashed line and fill in the pull request template. ------------------------------------------------------------------------------------------------------------ **Context:** Remove Py 3.9 from the CI runners and package metadata. **Description of the Change:** **Benefits:** **Possible Drawbacks:** **Related GitHub Issues:**
### Before submitting Please complete the following checklist when submitting a PR: - [x] All new features must include a unit test. If you've fixed a bug or added code that should be tested, add a test to the test directory! - [x] All new functions and code must be clearly commented and documented. If you do make documentation changes, make sure that the docs build and render correctly by running `make docs`. - [x] Ensure that the test suite passes, by running `make test`. - [x] Add a new entry to the `doc/releases/changelog-dev.md` file, summarizing the change, and including a link back to the PR. - [x] The PennyLane source code conforms to [PEP8 standards](https://www.python.org/dev/peps/pep-0008/). We check all of our code against [Pylint](https://www.pylint.org/). To lint modified files, simply `pip install pylint`, and then run `pylint pennylane/path/to/file.py`. When all the above are checked, delete everything above the dashed line and fill in the pull request template. ------------------------------------------------------------------------------------------------------------ **Context:** Remove Py 3.9 from the CI runners and package metadata. **Description of the Change:** **Benefits:** **Possible Drawbacks:** **Related GitHub Issues:**
Before submitting
Please complete the following checklist when submitting a PR:
All new features must include a unit test.
If you've fixed a bug or added code that should be tested, add a test to the
test directory!
All new functions and code must be clearly commented and documented.
If you do make documentation changes, make sure that the docs build and
render correctly by running
make docs
.Ensure that the test suite passes, by running
make test
.Add a new entry to the
doc/releases/changelog-dev.md
file, summarizing thechange, and including a link back to the PR.
The PennyLane source code conforms to
PEP8 standards.
We check all of our code against Pylint.
To lint modified files, simply
pip install pylint
, and thenrun
pylint pennylane/path/to/file.py
.When all the above are checked, delete everything above the dashed
line and fill in the pull request template.
Context: Remove Py 3.9 from the CI runners and package metadata.
Description of the Change:
Benefits:
Possible Drawbacks:
Related GitHub Issues: