Skip to content

Commit

Permalink
upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
artoonie committed Jun 9, 2023
1 parent 6dc769e commit 64be178
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 13 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']

steps:
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -18,7 +18,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install nose pylint autopep8
pip install -r requirements-test.txt
pip install -r requirements.txt
- name: Unit tests with nose
run: |
Expand All @@ -31,14 +31,14 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install nose pylint autopep8
python -m pip install -r requirements-test.txt
pip install -r requirements.txt
- name: Lint with pylint
run: |
Expand All @@ -47,10 +47,10 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -62,10 +62,10 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -84,10 +84,10 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- name: Set up Python 3.9
- name: Set up Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.9
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,4 @@ except Exception as e:
In addition to data normalization for RCV Summary formats, we would like similar functionality for cast vote records.

## Running test suite
Run `python3 -m nose` in the root directory, and `./scripts/lint.sh` to run the linter.
`pip3 install -r requirements-test.txt`, then run `python3 -m nose` in the root directory, and `./scripts/lint.sh` to run the linter.
1 change: 1 addition & 0 deletions docs/source/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
-r ../../requirements.txt
-r ../../requirements-test.txt
m2r==0.2.1
mistune==0.8.4
docutils<0.19
3 changes: 3 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nose-py3==1.6.2
pylint==2.17.4
autopep8==1.5.7
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
jsonschema==3.2.0
pylint==2.11.1
openpyxl==3.0.9
defusedxml==0.7.1

0 comments on commit 64be178

Please sign in to comment.