Skip to content

Commit 7550a70

Browse files
authored
Merge branch 'QCoDeS:master' into master
2 parents edef389 + 80b7c0c commit 7550a70

111 files changed

Lines changed: 7013 additions & 1717 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/static/environment_forge_full.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ name: qcodesforge
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.7.9
5+
- python=3.9
66
# recommended to be explicitly specified by conda-incubator/setup-miniconda@v2
77
- pip
88
# dependencies for setup.cfg
99
- numpy>=1.17
1010
- pyvisa>=1.11.0, <1.12.0
11-
- h5py>=2.8.0
11+
- h5py>=3.0.0
1212
- websockets>=7.0
1313
- jsonschema>=3.0.0
1414
- ruamel.yaml>=0.16.0,!=0.16.6
1515
- wrapt>=1.10.4
1616
- pandas>=1.0.0
1717
- xarray>=0.18.0
18-
- h5netcdf>=0.8.0
18+
- h5netcdf>=0.10.0, !=0.14.0
1919
- tabulate>=0.8.0
2020
- tqdm>=4.20.0
2121
- opencensus>=0.7.10, <0.9.0

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ jobs:
2121

2222
steps:
2323
- name: Checkout repository
24-
uses: actions/checkout@v2
24+
uses: actions/checkout@v3.0.2
2525

2626
# Initializes the CodeQL tools for scanning.
2727
- name: Initialize CodeQL
28-
uses: github/codeql-action/init@v1
28+
uses: github/codeql-action/init@v2
2929
with:
3030
languages: ${{ matrix.language }}
3131

3232
- name: Autobuild
33-
uses: github/codeql-action/autobuild@v1
33+
uses: github/codeql-action/autobuild@v2
3434

3535
- name: Perform CodeQL Analysis
36-
uses: github/codeql-action/analyze@v1
36+
uses: github/codeql-action/analyze@v2

.github/workflows/conda-forge-install-and-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: checkout source code
27-
uses: actions/checkout@v2.3.4
27+
uses: actions/checkout@v3.0.2
2828
with:
2929
submodules: true
3030
- name: setup ubuntu-latest xvfb

.github/workflows/darker.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Lint with Darker
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
lint-with-darker:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3.0.2
10+
with:
11+
fetch-depth: 0
12+
- uses: akaihola/darker@1.5.0
13+
with:
14+
options: "--check --diff"
15+
src: "./qcodes"
16+
revision: "origin/master..."

.github/workflows/docs.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
OS: ${{ matrix.os }}
3232
UPLOAD_TO_GHPAGES: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9' && github.event_name == 'push' && github.ref == 'refs/heads/master' }}
3333
steps:
34-
- uses: actions/checkout@v2.3.4
34+
- uses: actions/checkout@v3.0.2
3535
with:
3636
fetch-depth: '0'
3737
# if we upload to ghpages we need the full
3838
# history to generate correct version info
3939
if: ${{ fromJSON(env.UPLOAD_TO_GHPAGES) }}
40-
- uses: actions/checkout@v2.3.4
40+
- uses: actions/checkout@v3.0.2
4141
if: ${{ !fromJSON(env.UPLOAD_TO_GHPAGES) }}
4242
- name: setup ubuntu-latest xvfb
4343
uses: ./.github/actions/setup-ubuntu-latest-xvfb
@@ -46,7 +46,7 @@ jobs:
4646
run: sudo apt install pandoc
4747
if: runner.os == 'Linux'
4848
- name: Install pandoc on windows
49-
uses: Wandalen/wretry.action@v1.0.12
49+
uses: Wandalen/wretry.action@v1.0.15
5050
with:
5151
action: crazy-max/ghaction-chocolatey@v1.6.0
5252
with: |
@@ -55,14 +55,14 @@ jobs:
5555
attempt_delay: 1000
5656
if: runner.os == 'Windows'
5757
- name: Set up Python ${{ matrix.python-version }}
58-
uses: actions/setup-python@v2.3.1
58+
uses: actions/setup-python@v3.1.2
5959
with:
6060
python-version: ${{ matrix.python-version }}
6161
- name: prepare pip cache
6262
id: prepare-cache-pip
6363
uses: ./.github/actions/prepare-cache-pip
6464
- name: pip cache
65-
uses: actions/cache@v2.1.7
65+
uses: actions/cache@v3.0.2
6666
with:
6767
path: ${{ steps.prepare-cache-pip.outputs.cache-dir }}
6868
key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('**/requirements.txt') }}-${{ hashFiles('**/docs_requirements.txt') }}-${{ hashFiles('**/setup.cfg') }}
@@ -90,12 +90,12 @@ jobs:
9090
./make.bat html
9191
if: runner.os == 'Windows'
9292
- name: Upload build docs
93-
uses: actions/upload-artifact@v2.3.1
93+
uses: actions/upload-artifact@v3.0.0
9494
with:
9595
name: docs_${{ matrix.python-version }}_${{ matrix.os }}
9696
path: ${{ github.workspace }}/docs/_build/html
9797
- name: Deploy to gh pages
98-
uses: JamesIves/github-pages-deploy-action@v4.2.2
98+
uses: JamesIves/github-pages-deploy-action@v4.3.3
9999
with:
100100
branch: gh-pages
101101
folder: ${{ github.workspace }}/docs/_build/html

.github/workflows/pytest-min-versions.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,20 @@ jobs:
2525
PYTHON: ${{ matrix.python-version }}
2626

2727
steps:
28-
- uses: actions/checkout@v2.3.4
28+
- uses: actions/checkout@v3.0.2
2929
with:
3030
submodules: true
3131
- name: setup ubuntu-latest xvfb
3232
uses: ./.github/actions/setup-ubuntu-latest-xvfb
3333
- name: Set up Python ${{ matrix.python-version }}
34-
uses: actions/setup-python@v2.3.1
34+
uses: actions/setup-python@v3.1.2
3535
with:
3636
python-version: ${{ matrix.python-version }}
3737
- name: prepare pip cache
3838
id: prepare-cache-pip
3939
uses: ./.github/actions/prepare-cache-pip
4040
- name: pip cache
41-
uses: actions/cache@v2.1.7
41+
uses: actions/cache@v3.0.2
4242
with:
4343
path: ${{ steps.prepare-cache-pip.outputs.cache-dir }}
4444
key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('**/min-requirements.txt') }}-${{ hashFiles('**/setup.cfg') }}
@@ -47,6 +47,7 @@ jobs:
4747
- name: generate min_requirements.txt
4848
run: |
4949
pip install requirements-builder
50+
pip install versioningit
5051
requirements-builder -l min -e test setup.py -o min_requirements.txt
5152
- name: install min_requirements.txt
5253
run: |

.github/workflows/pytest-non-local.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,20 @@ jobs:
2222
DISPLAY: ':99.0'
2323

2424
steps:
25-
- uses: actions/checkout@v2.3.4
25+
- uses: actions/checkout@v3.0.2
2626
with:
2727
submodules: true
2828
- name: setup ubuntu-latest xvfb
2929
uses: ./.github/actions/setup-ubuntu-latest-xvfb
3030
- name: Set up Python ${{ matrix.python-version }}
31-
uses: actions/setup-python@v2.3.1
31+
uses: actions/setup-python@v3.1.2
3232
with:
3333
python-version: ${{ matrix.python-version }}
3434
- name: prepare pip cache
3535
id: prepare-cache-pip
3636
uses: ./.github/actions/prepare-cache-pip
3737
- name: pip cache
38-
uses: actions/cache@v2.1.7
38+
uses: actions/cache@v3.0.2
3939
with:
4040
path: ${{ steps.prepare-cache-pip.outputs.cache-dir }}
4141
key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('**/requirements.txt') }}-${{ hashFiles('**/test_requirements.txt') }}-${{ hashFiles('**/setup.cfg') }}

.github/workflows/pytest.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,20 @@ jobs:
2525
PYTHON: ${{ matrix.python-version }}
2626

2727
steps:
28-
- uses: actions/checkout@v2.3.4
28+
- uses: actions/checkout@v3.0.2
2929
with:
3030
submodules: true
3131
- name: setup ubuntu-latest xvfb
3232
uses: ./.github/actions/setup-ubuntu-latest-xvfb
3333
- name: Set up Python ${{ matrix.python-version }}
34-
uses: actions/setup-python@v2.3.1
34+
uses: actions/setup-python@v3.1.2
3535
with:
3636
python-version: ${{ matrix.python-version }}
3737
- name: prepare pip cache
3838
id: prepare-cache-pip
3939
uses: ./.github/actions/prepare-cache-pip
4040
- name: pip cache
41-
uses: actions/cache@v2.1.7
41+
uses: actions/cache@v3.0.2
4242
with:
4343
path: ${{ steps.prepare-cache-pip.outputs.cache-dir }}
4444
key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('**/requirements.txt') }}-${{ hashFiles('**/test_requirements.txt') }}-${{ hashFiles('**/setup.cfg') }}
@@ -59,7 +59,7 @@ jobs:
5959
run: |
6060
pytest --cov=qcodes --cov-report xml --hypothesis-profile ci qcodes
6161
- name: Upload coverage to Codecov
62-
uses: codecov/codecov-action@v2.1.0
62+
uses: codecov/codecov-action@v3.1.0
6363
with:
6464
file: ./coverage.xml
6565
env_vars: OS,PYTHON

.github/workflows/upload_to_pypi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v2.3.4
14+
- uses: actions/checkout@v3.0.2
1515
- name: Set up Python
16-
uses: actions/setup-python@v2.3.1
16+
uses: actions/setup-python@v3.1.2
1717
with:
1818
python-version: '3.7'
1919
- name: Install build deps

.pre-commit-config.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.1.0
3+
rev: v4.2.0
44
hooks:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer
7-
- id: check-yaml
7+
- id: check-ast
88
- id: check-json
99
exclude: asv.conf.json
10+
- id: check-toml
11+
- id: check-yaml
1012
- id: debug-statements
11-
- id: check-ast
1213
- id: mixed-line-ending
1314
args: ['--fix=no']
1415
- repo: https://github.com/asottile/pyupgrade
15-
rev: v2.31.0
16+
rev: v2.32.0
1617
hooks:
1718
- id: pyupgrade
1819
args: ['--py37-plus', '--keep-runtime-typing']
1920
- repo: https://github.com/akaihola/darker
20-
rev: github-action-v1.3.2-2
21+
rev: 1.5.0
2122
hooks:
2223
- id: darker
2324
args: [-i]

0 commit comments

Comments
 (0)