[PR #56] [MERGED] deps(python): drop Python 3.6 support #141

Closed
opened 2026-05-05 03:26:39 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/XuehaiPan/nvitop/pull/56
Author: @XuehaiPan
Created: 3/15/2023
Status: Merged
Merged: 3/15/2023
Merged by: @XuehaiPan

Base: mainHead: drop-py36


📝 Commits (3)

  • b4ba75b deps(python): drop Python 3.6 support
  • 4056fd0 style: use postponed evaluation of annotations
  • 9a1e25f docs(CHANGELOG): update CHANGELOG.md

📊 Changes

22 files changed (+285 additions, -286 deletions)

View changed files

📝 .github/PULL_REQUEST_TEMPLATE.md (+1 -1)
📝 .github/workflows/build.yaml (+7 -7)
📝 .github/workflows/lint.yaml (+6 -6)
📝 .pre-commit-config.yaml (+1 -1)
📝 .pylintrc (+1 -1)
📝 CHANGELOG.md (+1 -1)
📝 README.md (+2 -2)
📝 docs/source/index.rst (+2 -2)
📝 nvitop/api/collector.py (+30 -28)
📝 nvitop/api/device.py (+114 -116)
📝 nvitop/api/libcuda.py (+5 -5)
📝 nvitop/api/libcudart.py (+5 -5)
📝 nvitop/api/libnvml.py (+6 -16)
📝 nvitop/api/process.py (+56 -54)
📝 nvitop/api/utils.py (+17 -15)
📝 nvitop/callbacks/keras.py (+4 -3)
📝 nvitop/callbacks/pytorch_lightning.py (+3 -2)
📝 nvitop/callbacks/tensorboard.py (+7 -5)
📝 nvitop/callbacks/utils.py (+4 -4)
📝 nvitop/select.py (+10 -8)

...and 2 more files

📄 Description

Issue Type

  • Breaking changes

Description

Drop Python 3.7 support and use postponed evaluation of annotations.

Motivation and Context

Python 3.6 reached end-of-life about 1 year and 2 months ago.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/XuehaiPan/nvitop/pull/56 **Author:** [@XuehaiPan](https://github.com/XuehaiPan) **Created:** 3/15/2023 **Status:** ✅ Merged **Merged:** 3/15/2023 **Merged by:** [@XuehaiPan](https://github.com/XuehaiPan) **Base:** `main` ← **Head:** `drop-py36` --- ### 📝 Commits (3) - [`b4ba75b`](https://github.com/XuehaiPan/nvitop/commit/b4ba75bd69e56492dfa5a1fafc71ba7f257dc0a3) deps(python): drop Python 3.6 support - [`4056fd0`](https://github.com/XuehaiPan/nvitop/commit/4056fd0490020ed02d6c1b9581b229d6b2b97bf7) style: use postponed evaluation of annotations - [`9a1e25f`](https://github.com/XuehaiPan/nvitop/commit/9a1e25fdd1d6a1a3a32ade9c3afefa51e00dd4cd) docs(CHANGELOG): update CHANGELOG.md ### 📊 Changes **22 files changed** (+285 additions, -286 deletions) <details> <summary>View changed files</summary> 📝 `.github/PULL_REQUEST_TEMPLATE.md` (+1 -1) 📝 `.github/workflows/build.yaml` (+7 -7) 📝 `.github/workflows/lint.yaml` (+6 -6) 📝 `.pre-commit-config.yaml` (+1 -1) 📝 `.pylintrc` (+1 -1) 📝 `CHANGELOG.md` (+1 -1) 📝 `README.md` (+2 -2) 📝 `docs/source/index.rst` (+2 -2) 📝 `nvitop/api/collector.py` (+30 -28) 📝 `nvitop/api/device.py` (+114 -116) 📝 `nvitop/api/libcuda.py` (+5 -5) 📝 `nvitop/api/libcudart.py` (+5 -5) 📝 `nvitop/api/libnvml.py` (+6 -16) 📝 `nvitop/api/process.py` (+56 -54) 📝 `nvitop/api/utils.py` (+17 -15) 📝 `nvitop/callbacks/keras.py` (+4 -3) 📝 `nvitop/callbacks/pytorch_lightning.py` (+3 -2) 📝 `nvitop/callbacks/tensorboard.py` (+7 -5) 📝 `nvitop/callbacks/utils.py` (+4 -4) 📝 `nvitop/select.py` (+10 -8) _...and 2 more files_ </details> ### 📄 Description <!-- Provide a descriptive summary of the changes in the title above --> #### Issue Type <!-- Pick relevant types and delete the rest --> - Breaking changes #### Description <!-- Describe the changes in detail --> Drop Python 3.7 support and use postponed evaluation of annotations. #### Motivation and Context <!-- Why are these changes required? --> <!-- What problems do these changes solve? --> <!-- Link to relevant issues --> Python 3.6 reached end-of-life about 1 year and 2 months ago. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 03:26:39 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/nvitop#141
No description provided.