Skip to content

Commit 781dd9d

Browse files
authored
Merge pull request #20 from PDBe-KB/dependabot/pip/pytest-9.0.3
Bump pytest from 6.2.2 to 9.0.3
2 parents 27a9ef1 + 7408c6c commit 781dd9d

5 files changed

Lines changed: 14 additions & 11 deletions

File tree

‎.github/workflows/main.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
strategy:
1212
max-parallel: 4
1313
matrix:
14-
python-version: [3.7]
14+
python-version: ["3.10"]
1515

1616
steps:
1717
- uses: actions/checkout@v2
1818
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v1
19+
uses: actions/setup-python@v6
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222
- name: Install dependencies
@@ -41,7 +41,7 @@ jobs:
4141
python setup.py sdist bdist_wheel
4242
- name: Upload artifact for publish job
4343
if: github.ref == 'refs/heads/main'
44-
uses: actions/upload-artifact@v3
44+
uses: actions/upload-artifact@v4
4545
with:
4646
name: ${{ env.PACKAGE_NAME }}-app
4747
path: dist/

‎Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.9
1+
FROM python:3.10
22
WORKDIR /app
33
COPY requirements.txt /app/requirements.txt
44
RUN pip install -r requirements.txt

‎dev-requirements.txt‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
attrs==20.3.0
22
coverage==5.5
33
iniconfig==1.1.1
4-
packaging==20.9
5-
pluggy==0.13.1
4+
packaging==22.0
5+
pluggy==1.5.0
66
py==1.10.0
77
pyparsing==2.4.7
88
pytest-cov==2.11.1
99
pytest-mock==3.5.1
10-
pytest==6.2.2
10+
pytest==9.0.3
1111
toml==0.10.2
1212
pre-commit==2.11.1

‎pdbe_complexes/utils/get_annotated_name.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import csv
22
import logging
3+
34
import requests
45

56

@@ -41,6 +42,8 @@ def _read_molecule_names(self, molecule_name_file):
4142
lines = (line.decode("utf-8") for line in r.iter_lines())
4243
next(lines)
4344
for row in csv.reader(lines):
45+
if not row:
46+
continue
4447
complex_id = row[0].strip()
4548
name = row[1].strip()
4649
self.molecule_names[complex_id] = name
@@ -59,6 +62,8 @@ def _read_components(self, component_file):
5962
lines = (line.decode("utf-8") for line in r.iter_lines())
6063
next(lines)
6164
for row in csv.reader(lines):
65+
if not row:
66+
continue
6267
complex_id = row[0].strip()
6368
accession = row[1].strip()
6469
stoichiometry = row[2].strip()

‎setup.cfg‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,14 @@ classifiers =
1111
Development Status :: 4 - Beta
1212
Intended Audience :: Life Science/Structural Biology
1313
Intended Audience :: Developers
14-
Programming Language :: Python :: 3.7
15-
Programming Language :: Python :: 3.8
16-
Programming Language :: Python :: 3.9
14+
Programming Language :: Python :: 3.10
1715
long_description = file: README.md
1816
long_description_content_type = text/markdown
1917
license_files =
2018
LICENSE.txt
2119

2220
[options]
23-
python_requires = >= 3.7
21+
python_requires = >= 3.10
2422
packages = find_namespace:
2523
zip_safe: False
2624
include_package_data = True

0 commit comments

Comments
 (0)