Skip to content

Commit 15c4063

Browse files
authored
Merge pull request #117 from 4dn-dcic/ajs_upd_dependencies
Ajs upd dependencies
2 parents 3dd1d19 + dd88f96 commit 15c4063

File tree

7 files changed

+1362
-1223
lines changed

7 files changed

+1362
-1223
lines changed

.github/workflows/main-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
python-version: 3.11
3030
- name: Install Python dependencies for publish
31-
run: python -m pip install dcicutils==8.0.0
31+
run: python -m pip install dcicutils==8.17.0
3232
- name: Publish
3333
env:
3434
PYPI_USER: ${{ secrets.PYPI_USER }}

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-22.04
2323
strategy:
2424
matrix:
25-
python_version: ['3.8', '3.9', '3.10', '3.11']
25+
python_version: ['3.9', '3.10', '3.11', '3.12']
2626

2727
# Steps represent a sequence of tasks that will be executed as part of the job
2828
steps:

CHANGELOG.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ dcicwrangling
66
Change Log
77
------
88

9+
4.0.0
10+
=====
11+
12+
* drop support for python 3.8
13+
* add python 3.12
14+
* update lock file
15+
* update mail-publish.yml to use new dcicutils
16+
917

1018
3.2.1
1119
=====

poetry.lock

Lines changed: 1347 additions & 1215 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "dcicwrangling"
3-
version = "3.2.1"
3+
version = "4.0.0"
44
description = "Scripts and Jupyter notebooks for 4DN wrangling"
55
authors = ["4DN-DCIC Team <[email protected]>"]
66
license = "MIT"
@@ -10,8 +10,8 @@ repository = "https://github.com/4dn-dcic/dcicwrangling"
1010
packages = [{ include="scripts", from="." }]
1111

1212
[tool.poetry.dependencies]
13-
python = ">=3.8.0, <3.12"
14-
dcicutils = "^8.0.0"
13+
python = ">=3.9, <3.13"
14+
dcicutils = "^8.13.0"
1515
openpyxl = "^3.0.9"
1616
Biopython = "^1.80"
1717
GEOparse = "^2.0.1"

scripts/generate_wfr_from_pf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ def main():
142142
args = get_args(sys.argv[1:])
143143
auth = scu.authenticate(key=args.key, keyfile=args.keyfile, env=args.env)
144144
dryrun = not args.dbupdate
145-
146145
file_list = scu.get_item_ids_from_args(args.input, auth, args.search)
147146
wf_data = get_metadata(args.workflow, auth)
148147
for f in file_list:

tests/test_script_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,15 +266,15 @@ def test_get_item_uuid_w_atid(mocker, auth):
266266
atid = '/labs/test-lab'
267267
mt = mocker.patch('functions.script_utils.get_metadata', return_value={'uuid': 'test_uuid'})
268268
result = scu.get_item_uuid(atid, auth)
269-
assert mt.called_with(atid, auth)
269+
mt.assert_called_with(atid, auth)
270270
assert result == 'test_uuid'
271271

272272

273273
def test_get_item_uuid_not_found(mocker, auth):
274274
atid = '/labs/non-lab'
275275
mt = mocker.patch('functions.script_utils.get_metadata', return_value={'status': 'error'})
276276
result = scu.get_item_uuid(atid, auth)
277-
assert mt.called_with(atid, auth)
277+
mt.assert_called_with(atid, auth)
278278
assert result is None
279279

280280

0 commit comments

Comments
 (0)