Skip to content

Commit 36c6d7c

Browse files
committed
Update requirements, set min. Python to v3.6
1 parent 53511d6 commit 36c6d7c

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,14 @@ jobs:
3333

3434
strategy:
3535
fail-fast: false
36-
matrix:
37-
python-version: [3.7, 3.8]
3836

3937
steps:
4038
- uses: actions/checkout@v1
4139

42-
- name: Set up Python ${{ matrix.python-version}}
40+
- name: Set up Python 3.7
4341
uses: actions/setup-python@v1
4442
with:
45-
python-version: ${{ matrix.python-version}}
43+
python-version: 3.7
4644

4745
- name: Install dependencies
4846
run: |
@@ -60,7 +58,7 @@ jobs:
6058
strategy:
6159
fail-fast: false
6260
matrix:
63-
python-version: [3.7, 3.8]
61+
python-version: [3.6, 3.7, 3.8]
6462
backend: ['django', 'sqlalchemy']
6563

6664
steps:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
| Latest release | Build status | Activity |
44
|:--------------:|:------------:|:--------:|
5-
| [![PyPI](https://img.shields.io/pypi/v/aiida-optimade)](https://pypi.org/project/aiida-optimade/)<br>[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/aiida-optimade)](https://pypi.org/project/aiida-optimade/)<br>[![OPTiMaDe](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/Materials-Consortia/optimade-python-tools/v0.3.0/.ci/optimade-version.json)](https://github.com/Materials-Consortia/OPTiMaDe/) | [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/aiidateam/aiida-optimade/aiida-optimade)](https://github.com/aiidateam/aiida-optimade/actions/)<br>[![Codecov](https://img.shields.io/codecov/c/gh/aiidateam/aiida-optimade)](https://codecov.io/gh/aiidateam/aiida-optimade) | [![GitHub last commit](https://img.shields.io/github/last-commit/aiidateam/aiida-optimade)](https://github.com/aiidateam/aiida-optimade) |
5+
| [![PyPI](https://img.shields.io/pypi/v/aiida-optimade)](https://pypi.org/project/aiida-optimade/)<br>[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/aiida-optimade)](https://pypi.org/project/aiida-optimade/)<br>[![OPTiMaDe](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/Materials-Consortia/optimade-python-tools/v0.3.1/.ci/optimade-version.json)](https://github.com/Materials-Consortia/OPTiMaDe/) | [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/aiidateam/aiida-optimade/aiida-optimade)](https://github.com/aiidateam/aiida-optimade/actions/)<br>[![Codecov](https://img.shields.io/codecov/c/gh/aiidateam/aiida-optimade)](https://codecov.io/gh/aiidateam/aiida-optimade) | [![GitHub last commit](https://img.shields.io/github/last-commit/aiidateam/aiida-optimade)](https://github.com/aiidateam/aiida-optimade) |
66

77
This is a RESTful API server created with [FastAPI](https://fastapi.tiangolo.com/) that exposes an AiiDA database according to the [OPTiMaDe specification](https://github.com/Materials-Consortia/OPTiMaDe/blob/develop/optimade.rst).
88

setup.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"Operating System :: MacOS :: MacOS X",
1717
"Operating System :: POSIX :: Linux",
1818
"Programming Language :: Python :: 3 :: Only",
19+
"Programming Language :: Python :: 3.6",
1920
"Programming Language :: Python :: 3.7",
2021
"Intended Audience :: Developers",
2122
"Topic :: Database",

setup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
long_description=open(MODULE_DIR.joinpath("README.md")).read(),
1515
long_description_content_type="text/markdown",
1616
packages=find_packages(),
17-
python_requires=">=3.7",
17+
python_requires=">=3.6",
1818
install_requires=[
19-
"aiida-core~=1.0.1",
20-
"fastapi~=0.44",
19+
"aiida-core~=1.0",
20+
"fastapi~=0.47",
2121
"lark-parser~=0.7.8",
22-
"optimade~=0.3.0",
23-
"pydantic~=1.0, <2.0.0",
22+
"optimade~=0.3.1",
23+
"pydantic~=1.3",
2424
"uvicorn",
2525
],
2626
extras_require={"dev": DEV, "testing": TESTING},

0 commit comments

Comments
 (0)