Skip to content

Commit

Permalink
Merge pull request #166 from jenshnielsen/drop_python_3.7
Browse files Browse the repository at this point in the history
Drop python 3.7
  • Loading branch information
jenshnielsen authored Oct 5, 2022
2 parents 281fd41 + c7345e6 commit f72e3c5
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: [3.7, 3.8, 3.9]
python-version: ["3.8", "3.9", "3.10"]
exclude:
- os: windows-latest
python-version: 3.8
python-version: "3.9"
- os: windows-latest
python-version: 3.9
python-version: "3.10"
env:
DISPLAY: ':99.0'
OS: ${{ matrix.os }}
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: [3.7, 3.8, 3.9]
python-version: ["3.8", "3.9", "3.10"]
exclude:
- os: windows-latest
python-version: 3.8
python-version: "3.9"
- os: windows-latest
python-version: 3.9
python-version: "3.10"
env:
DISPLAY: ':99.0'
OS: ${{ matrix.os }}
Expand Down Expand Up @@ -55,7 +55,6 @@ jobs:
pip install .[test] -c requirements.txt
- name: Run Mypy
run: mypy qcodes_contrib_drivers
if: matrix.python-version != '3.7'
- name: Run tests
run: |
pytest --cov=qcodes_contrib_drivers --cov-report xml --cov-config=setup.cfg qcodes_contrib_drivers
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload_to_pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4.2.0
with:
python-version: '3.7'
python-version: '3.10'
- name: Install build deps
run: pip install --upgrade pip setuptools wheel build
- name: Build
Expand Down
1 change: 1 addition & 0 deletions qcodes_contrib_drivers/drivers/SignalCore/SignalCore.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import ctypes
import ctypes.wintypes
import os
import sys
from typing import Dict, Optional
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ classifiers =
License :: OSI Approved :: MIT License
License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Expand All @@ -29,7 +28,7 @@ project_urls =
[options]
zip_safe = False
packages = find:
python_requires = >=3.7
python_requires = >=3.8
install_requires =
qcodes>=0.29.0
versioningit>=1.1.0
Expand Down

0 comments on commit f72e3c5

Please sign in to comment.