Skip to content

Commit 7630039

Browse files
author
Mike
committed
Update requirements and workflows
1 parent 197d5cf commit 7630039

6 files changed

Lines changed: 12 additions & 13 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v3
1313
- name: Get history and tags for SCM versioning to work
1414
run: |
1515
git fetch --prune --unshallow
1616
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
1717
- name: Set up Python
18-
uses: actions/setup-python@v2
18+
uses: actions/setup-python@v4
1919
with:
2020
python-version: '3.x'
2121
- name: Install dependencies

.github/workflows/run-python-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v3
2020
- name: Set up Python
21-
uses: actions/setup-python@v2
21+
uses: actions/setup-python@v4
2222
with:
2323
python-version: '3.x'
2424
- name: Install dependencies
@@ -29,11 +29,11 @@ jobs:
2929
run: |
3030
tox
3131
- name: Publish Unit Test Results
32-
uses: EnricoMi/publish-unit-test-result-action@v1
32+
uses: EnricoMi/publish-unit-test-result-action@v2
3333
if: always()
3434
with:
3535
github_token: ${{ secrets.GITHUB_TOKEN }}
36-
files: .tox/*.xml
36+
junit_files: .tox/*.xml
3737
- name: Upload Coverage Results
38-
uses: codecov/codecov-action@v2
38+
uses: codecov/codecov-action@v3
3939
if: success()

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ python =
130130
3: py311, lint
131131
132132
[testenv]
133-
recreate = true
134133
package = wheel
135134
wheel_build_env = .pkg
136135
deps =
@@ -154,6 +153,7 @@ commands =
154153
pydoc-markdown
155154
156155
[testenv:publish]
156+
package = sdist
157157
pass_env = SSH_AUTH_SOCK, TWINE_USERNAME, TWINE_PASSWORD
158158
deps =
159159
twine

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ckanapi==4.7
22
defopt==6.4.0
33
email_validator==1.3.1
4-
hdx-python-country==3.4.5
4+
hdx-python-country==3.4.6
55
makefun==1.15.0
66
ndg-httpsclient==0.5.1
77
pyasn1==0.4.8

setup.cfg

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ classifiers =
1818
Programming Language :: Python
1919
Programming Language :: Python :: 3
2020
Programming Language :: Python :: 3 :: Only
21-
Programming Language :: Python :: 3.7
2221
Programming Language :: Python :: 3.8
2322
Programming Language :: Python :: 3.9
2423
Programming Language :: Python :: 3.10
@@ -39,13 +38,13 @@ include_package_data = True
3938
package_dir =
4039
=src
4140

42-
python_requires = >=3.7
41+
python_requires = >=3.8
4342

4443
install_requires =
4544
ckanapi >= 4.7
4645
defopt >= 6.4.0
4746
email_validator
48-
hdx-python-country>=3.4.5
47+
hdx-python-country>=3.4.6
4948
makefun
5049
ndg-httpsclient
5150
pyasn1

test-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
pytest==7.2.1
22
pytest-cov==4.0.0
3-
tox==4.3.5
3+
tox==4.4.4
44
-r requirements.txt

0 commit comments

Comments
 (0)