Skip to content

Commit

Permalink
Bump python requirements to 3.7+
Browse files Browse the repository at this point in the history
Pickling nodes doesn't work in 3.6. Let's not care.
  • Loading branch information
OdyX committed Mar 29, 2021
1 parent edbce6e commit d1f9ec4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions jelapi/classes/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def _update_from_getEnvInfo(
self,
jelastic_env: Dict[str, Any],
env_groups: Optional[List[str]] = None,
node_groups: Optional[List[str]] = None,
node_groups: Optional[List[Dict[str, Any]]] = None,
nodes: Optional[List[Dict[str, Any]]] = None,
) -> None:
"""
Expand Down Expand Up @@ -137,7 +137,7 @@ def __init__(
*,
jelastic_env: Dict[str, Any],
env_groups: Optional[List[str]] = None,
node_groups: Optional[List[str]] = None,
node_groups: Optional[List[Dict[str, Any]]] = None,
nodes: Optional[List[Dict[str, Any]]] = None,
) -> None:
"""
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
},
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
Expand All @@ -38,5 +37,5 @@
"Topic :: Software Development :: Libraries",
"Development Status :: 4 - Beta",
],
python_requires=">=3.5",
python_requires=">=3.7",
)

0 comments on commit d1f9ec4

Please sign in to comment.