Skip to content

Commit a580f91

Browse files
committed
Update to python 3.13
1 parent 71a834e commit a580f91

File tree

9 files changed

+95
-111
lines changed

9 files changed

+95
-111
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup Python
1616
uses: actions/setup-python@v3
1717
with:
18-
python-version: "3.10"
18+
python-version: "3.13"
1919

2020
- name: Install dependencies
2121
run: |

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version: 2
44
build:
55
os: ubuntu-22.04
66
tools:
7-
python: "3.10"
7+
python: "3.13"
88
# install R
99
apt_packages:
1010
- r-base

circe/setup.py

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,36 @@
11
import codecs
2-
3-
from setuptools import setup, find_namespace_packages
42
from pathlib import Path
53

4+
from setuptools import find_namespace_packages, setup
5+
66
# get current directory
77
here = Path(__file__).parent.absolute()
88
parent_dir = here.parent.absolute()
99

1010
# get the long description from the README file
11-
with codecs.open(parent_dir / 'README.md', encoding='utf-8') as f:
11+
with codecs.open(parent_dir / "README.md", encoding="utf-8") as f:
1212
long_description = f.read()
1313

1414
# get the version from the parent dir
15-
with open(parent_dir / 'VERSION') as f:
15+
with open(parent_dir / "VERSION") as f:
1616
version = f.read().strip()
1717

1818
# setup the package
1919
setup(
20-
name='ohdsi-circe',
20+
name="ohdsi-circe",
2121
version=version,
22-
description='Python wrapper for the OHDSI R packages',
22+
description="Python wrapper for the OHDSI R packages",
2323
long_description=long_description,
24-
long_description_content_type='text/markdown',
25-
url='https://github.com/vantage6/python-ohdsi',
26-
packages=find_namespace_packages(include=['ohdsi.*']),
27-
python_requires='>=3.10',
24+
long_description_content_type="text/markdown",
25+
url="https://github.com/vantage6/python-ohdsi",
26+
packages=find_namespace_packages(include=["ohdsi.*"]),
27+
python_requires=">=3.13",
2828
install_requires=[
29-
'rpy2==3.5.12',
29+
"rpy2==3.5.12",
3030
],
31-
extras_require={
32-
'dev': []
33-
},
31+
extras_require={"dev": []},
3432
package_data={
35-
'ohdsi.circe.data': ['*.json'],
33+
"ohdsi.circe.data": ["*.json"],
3634
},
3735
# entry_points={
3836
# 'console_scripts': [

cohort-diagnostics/setup.py

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,37 @@
11
import codecs
2-
3-
from setuptools import setup, find_namespace_packages
42
from pathlib import Path
53

4+
from setuptools import find_namespace_packages, setup
5+
66
# get current directory
77
here = Path(__file__).parent.absolute()
88
parent_dir = here.parent.absolute()
99

1010
# get the long description from the README file
11-
with codecs.open(parent_dir / 'README.md', encoding='utf-8') as f:
11+
with codecs.open(parent_dir / "README.md", encoding="utf-8") as f:
1212
long_description = f.read()
1313

1414
# get the version from the parent dir
15-
with open(parent_dir / 'VERSION') as f:
15+
with open(parent_dir / "VERSION") as f:
1616
version = f.read().strip()
1717

1818
# setup the package
1919
setup(
20-
name='ohdsi-cohort-diagnostics',
20+
name="ohdsi-cohort-diagnostics",
2121
version=version,
22-
description='Python wrapper for the OHDSI R packages',
22+
description="Python wrapper for the OHDSI R packages",
2323
long_description=long_description,
24-
long_description_content_type='text/markdown',
25-
url='https://github.com/vantage6/python-ohdsi',
26-
packages=find_namespace_packages(include=['ohdsi.*']),
27-
python_requires='>=3.10',
24+
long_description_content_type="text/markdown",
25+
url="https://github.com/vantage6/python-ohdsi",
26+
packages=find_namespace_packages(include=["ohdsi.*"]),
27+
python_requires=">=3.13",
2828
install_requires=[
29-
'rpy2==3.5.12',
30-
'pandas==2.3.1',
29+
"rpy2==3.5.12",
30+
"pandas==2.3.1",
3131
],
32-
extras_require={
33-
'dev': []
34-
},
32+
extras_require={"dev": []},
3533
package_data={
36-
'ohdsi.cohort_diagnostics.data': ['*.json'],
34+
"ohdsi.cohort_diagnostics.data": ["*.json"],
3735
},
3836
# entry_points={
3937
# 'console_scripts': [

cohort-generator/setup.py

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,36 @@
11
import codecs
2-
3-
from setuptools import setup, find_namespace_packages
42
from pathlib import Path
53

4+
from setuptools import find_namespace_packages, setup
5+
66
# get current directory
77
here = Path(__file__).parent.absolute()
88
parent_dir = here.parent.absolute()
99

1010
# get the long description from the README file
11-
with codecs.open(parent_dir / 'README.md', encoding='utf-8') as f:
11+
with codecs.open(parent_dir / "README.md", encoding="utf-8") as f:
1212
long_description = f.read()
1313

1414
# get the version from the parent dir
15-
with open(parent_dir / 'VERSION') as f:
15+
with open(parent_dir / "VERSION") as f:
1616
version = f.read().strip()
1717

1818
# setup the package
1919
setup(
20-
name='ohdsi-cohort-generator',
20+
name="ohdsi-cohort-generator",
2121
version=version,
22-
description='Python wrapper for the OHDSI R packages',
22+
description="Python wrapper for the OHDSI R packages",
2323
long_description=long_description,
24-
long_description_content_type='text/markdown',
25-
url='https://github.com/vantage6/python-ohdsi',
26-
packages=find_namespace_packages(include=['ohdsi.*']),
27-
python_requires='>=3.10',
24+
long_description_content_type="text/markdown",
25+
url="https://github.com/vantage6/python-ohdsi",
26+
packages=find_namespace_packages(include=["ohdsi.*"]),
27+
python_requires=">=3.13",
2828
install_requires=[
29-
'rpy2==3.5.12',
29+
"rpy2==3.5.12",
3030
],
31-
extras_require={
32-
'dev': []
33-
},
31+
extras_require={"dev": []},
3432
package_data={
35-
'ohdsi.cohort_generator.cohorts': [
36-
'data/cohort/*'
37-
],
33+
"ohdsi.cohort_generator.cohorts": ["data/cohort/*"],
3834
},
3935
# entry_points={
4036
# 'console_scripts': [

common/setup.py

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,37 @@
11
import codecs
2-
3-
from setuptools import setup, find_namespace_packages
42
from pathlib import Path
53

4+
from setuptools import find_namespace_packages, setup
5+
66
# get current directory
77
here = Path(__file__).parent.absolute()
88
parent_dir = here.parent.absolute()
99

1010
# get the long description from the README file
11-
with codecs.open(parent_dir / 'README.md', encoding='utf-8') as f:
11+
with codecs.open(parent_dir / "README.md", encoding="utf-8") as f:
1212
long_description = f.read()
1313

1414
# get the version from the parent dir
15-
with open(parent_dir / 'VERSION') as f:
15+
with open(parent_dir / "VERSION") as f:
1616
version = f.read().strip()
1717

1818
# setup the package
1919
setup(
20-
name='ohdsi-common',
20+
name="ohdsi-common",
2121
version=version,
22-
description='Python wrapper for the OHDSI R packages',
22+
description="Python wrapper for the OHDSI R packages",
2323
long_description=long_description,
24-
long_description_content_type='text/markdown',
25-
url='https://github.com/vantage6/python-ohdsi',
26-
packages=find_namespace_packages(include=['ohdsi.*']),
27-
python_requires='>=3.10',
24+
long_description_content_type="text/markdown",
25+
url="https://github.com/vantage6/python-ohdsi",
26+
packages=find_namespace_packages(include=["ohdsi.*"]),
27+
python_requires=">=3.13",
2828
install_requires=[
29-
'rpy2==3.5.12',
30-
'pandas==2.3.1',
29+
"rpy2==3.5.12",
30+
"pandas==2.3.1",
3131
],
32-
extras_require={
33-
'dev': []
34-
},
32+
extras_require={"dev": []},
3533
package_data={
36-
'ohdsi.database_connector.java': ['*.jar'],
34+
"ohdsi.database_connector.java": ["*.jar"],
3735
},
3836
# entry_points={
3937
# 'console_scripts': [

database-connector/setup.py

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,36 @@
11
import codecs
2-
3-
from setuptools import setup, find_namespace_packages
42
from pathlib import Path
53

4+
from setuptools import find_namespace_packages, setup
5+
66
# get current directory
77
here = Path(__file__).parent.absolute()
88
parent_dir = here.parent.absolute()
99

1010
# get the long description from the README file
11-
with codecs.open(parent_dir / 'README.md', encoding='utf-8') as f:
11+
with codecs.open(parent_dir / "README.md", encoding="utf-8") as f:
1212
long_description = f.read()
1313

1414
# get the version from the parent dir
15-
with open(parent_dir / 'VERSION') as f:
15+
with open(parent_dir / "VERSION") as f:
1616
version = f.read().strip()
1717

1818
# setup the package
1919
setup(
20-
name='ohdsi-database-connector',
20+
name="ohdsi-database-connector",
2121
version=version,
22-
description='Python wrapper for the OHDSI R packages',
22+
description="Python wrapper for the OHDSI R packages",
2323
long_description=long_description,
24-
long_description_content_type='text/markdown',
25-
url='https://github.com/vantage6/python-ohdsi',
26-
packages=find_namespace_packages(include=['ohdsi.*']),
27-
python_requires='>=3.10',
24+
long_description_content_type="text/markdown",
25+
url="https://github.com/vantage6/python-ohdsi",
26+
packages=find_namespace_packages(include=["ohdsi.*"]),
27+
python_requires=">=3.13",
2828
install_requires=[
29-
'rpy2==3.5.12',
29+
"rpy2==3.5.12",
3030
],
31-
extras_require={
32-
'dev': []
33-
},
31+
extras_require={"dev": []},
3432
package_data={
35-
'ohdsi.database_connector.java': ['*.jar'],
33+
"ohdsi.database_connector.java": ["*.jar"],
3634
},
3735
# entry_points={
3836
# 'console_scripts': [

feature-extraction/setup.py

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,34 @@
11
import codecs
2-
3-
from setuptools import setup, find_namespace_packages
42
from pathlib import Path
53

4+
from setuptools import find_namespace_packages, setup
5+
66
# get current directory
77
here = Path(__file__).parent.absolute()
88
parent_dir = here.parent.absolute()
99

1010
# get the long description from the README file
11-
with codecs.open(parent_dir / 'README.md', encoding='utf-8') as f:
11+
with codecs.open(parent_dir / "README.md", encoding="utf-8") as f:
1212
long_description = f.read()
1313

1414
# get the version from the parent dir
15-
with open(parent_dir / 'VERSION') as f:
15+
with open(parent_dir / "VERSION") as f:
1616
version = f.read().strip()
1717

1818
# setup the package
1919
setup(
20-
name='ohdsi-feature-extraction',
20+
name="ohdsi-feature-extraction",
2121
version=version,
22-
description='Python wrapper for the OHDSI R packages',
22+
description="Python wrapper for the OHDSI R packages",
2323
long_description=long_description,
24-
long_description_content_type='text/markdown',
25-
url='https://github.com/vantage6/python-ohdsi',
26-
packages=find_namespace_packages(include=['ohdsi.*']),
27-
python_requires='>=3.10',
24+
long_description_content_type="text/markdown",
25+
url="https://github.com/vantage6/python-ohdsi",
26+
packages=find_namespace_packages(include=["ohdsi.*"]),
27+
python_requires=">=3.13",
2828
install_requires=[
29-
'rpy2==3.5.12',
29+
"rpy2==3.5.12",
3030
],
31-
extras_require={
32-
'dev': []
33-
},
31+
extras_require={"dev": []},
3432
package_data={
3533
# 'ohdsi.feature_extraction.data': ['*.json'],
3634
},

sqlrender/setup.py

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,37 @@
11
import codecs
2-
3-
from setuptools import setup, find_namespace_packages
42
from pathlib import Path
53

4+
from setuptools import find_namespace_packages, setup
5+
66
# get current directory
77
here = Path(__file__).parent.absolute()
88
parent_dir = here.parent.absolute()
99

1010
# get the long description from the README file
11-
with codecs.open(parent_dir / 'README.md', encoding='utf-8') as f:
11+
with codecs.open(parent_dir / "README.md", encoding="utf-8") as f:
1212
long_description = f.read()
1313

1414
# get the version from the parent dir
15-
with open(parent_dir / 'VERSION') as f:
15+
with open(parent_dir / "VERSION") as f:
1616
version = f.read().strip()
1717

1818
# setup the package
1919
setup(
20-
name='ohdsi-sqlrender',
20+
name="ohdsi-sqlrender",
2121
version=version,
22-
description='Python wrapper for the OHDSI R packages',
22+
description="Python wrapper for the OHDSI R packages",
2323
long_description=long_description,
24-
long_description_content_type='text/markdown',
25-
url='https://github.com/vantage6/python-ohdsi',
26-
packages=find_namespace_packages(include=['ohdsi.*']),
27-
python_requires='>=3.10',
24+
long_description_content_type="text/markdown",
25+
url="https://github.com/vantage6/python-ohdsi",
26+
packages=find_namespace_packages(include=["ohdsi.*"]),
27+
python_requires=">=3.13",
2828
install_requires=[
29-
'rpy2==3.5.12',
30-
'pandas==2.3.1',
29+
"rpy2==3.5.12",
30+
"pandas==2.3.1",
3131
],
32-
extras_require={
33-
'dev': []
34-
},
32+
extras_require={"dev": []},
3533
package_data={
36-
'ohdsi.sqlrender.data': ['*.json'],
34+
"ohdsi.sqlrender.data": ["*.json"],
3735
},
3836
# entry_points={
3937
# 'console_scripts': [

0 commit comments

Comments
 (0)