Skip to content

Commit 7e12496

Browse files
committed
Pin ubuntu image to be able to run python 3.6
1 parent f874f16 commit 7e12496

File tree

6 files changed

+10
-9
lines changed

6 files changed

+10
-9
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77
publish:
88
name: Publish
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-20.04
1010
env:
1111
TARGET_URL: https://pypi.org/project/patch-api/
1212
steps:

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: psf/black@stable
1515

1616
build-and-test:
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-20.04
1818
name: Python Library tests
1919
steps:
2020
- name: Check out code
@@ -23,7 +23,8 @@ jobs:
2323
- name: Setup Python
2424
uses: actions/setup-python@v2
2525
with:
26-
python-version: '3.10'
26+
python-version: "3.6"
27+
2728
- name: Run tests
2829
env:
2930
SANDBOX_API_KEY: ${{ secrets.SANDBOX_API_KEY }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pip install patch-api
3232

3333
### Requirements
3434

35-
- Python 3.10
35+
- Python 3.6.1
3636

3737
## Usage
3838

patch_api/models/inventory.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def __init__(
9090
def vintage_year(self):
9191
"""Gets the vintage_year of this Inventory. # noqa: E501
9292
93-
The year in which the climate impacts of the project occurred, or will occur. # noqa: E501
93+
DEPRECATED The year in which the climate impacts of the project occurred, or will occur. # noqa: E501
9494
9595
:return: The vintage_year of this Inventory. # noqa: E501
9696
:rtype: int
@@ -101,7 +101,7 @@ def vintage_year(self):
101101
def vintage_year(self, vintage_year):
102102
"""Sets the vintage_year of this Inventory.
103103
104-
The year in which the climate impacts of the project occurred, or will occur. # noqa: E501
104+
DEPRECATED The year in which the climate impacts of the project occurred, or will occur. # noqa: E501
105105
106106
:param vintage_year: The vintage_year of this Inventory. # noqa: E501
107107
:type: int

patch_api/models/order_line_item.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def project(self, project):
153153
def vintage_year(self):
154154
"""Gets the vintage_year of this OrderLineItem. # noqa: E501
155155
156-
The year in which the climate impacts of the project occurred, or will occur. # noqa: E501
156+
DEPRECATED The year in which the climate impacts of the project occurred, or will occur. # noqa: E501
157157
158158
:return: The vintage_year of this OrderLineItem. # noqa: E501
159159
:rtype: int
@@ -164,7 +164,7 @@ def vintage_year(self):
164164
def vintage_year(self, vintage_year):
165165
"""Sets the vintage_year of this OrderLineItem.
166166
167-
The year in which the climate impacts of the project occurred, or will occur. # noqa: E501
167+
DEPRECATED The year in which the climate impacts of the project occurred, or will occur. # noqa: E501
168168
169169
:param vintage_year: The vintage_year of this OrderLineItem. # noqa: E501
170170
:type: int

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
author_email="[email protected]",
3535
url="",
3636
keywords=["OpenAPI", "OpenAPI-Generator", "Patch API V2"],
37-
python_requires=">=3.10",
37+
python_requires=">=3.6",
3838
install_requires=REQUIRES,
3939
packages=find_packages(exclude=["test", "tests"]),
4040
include_package_data=True,

0 commit comments

Comments
 (0)