Skip to content

Commit

Permalink
Merge pull request #60 from expel-io/update-python-version
Browse files Browse the repository at this point in the history
Increase required python version from 3.7 to 3.9
  • Loading branch information
benkawecki-expel committed Jun 21, 2023
2 parents a2d10ec + e90b786 commit 50f6dde
Show file tree
Hide file tree
Showing 7 changed files with 1,759 additions and 920 deletions.
2 changes: 1 addition & 1 deletion .github/linters/.flake8
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[flake8]
ignore = E501 # line-too-long
ignore = E501
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: set up python
uses: actions/setup-python@v2
with:
python-version: '3.7'
python-version: '3.9'
- name: install dependencies
run: |
python -m pip install pytest
Expand All @@ -53,7 +53,7 @@ jobs:
- name: set up python
uses: actions/setup-python@v2
with:
python-version: '3.7'
python-version: '3.9'
- name: install dependencies
run: |
python -m pip install --upgrade setuptools wheel
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ To get up and running follow these simple steps.

### Prerequisites

Pyexclient requires `python>=3.7`.
Pyexclient requires `python>=3.9` and the `requests` package.

### Installation

Expand Down
2 changes: 1 addition & 1 deletion docs/start/start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ To get an API key, you’ll need to reach out to your Expel Engagement Manager.

Installation
------------
Pyexclient requires Python3.7+. It has no additional dependencies.
Pyexclient requires Python3.9+ and the requests package.

To install pyexclient using pip, run:

Expand Down
10 changes: 9 additions & 1 deletion examples/expel_metrics.ipynb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"cells": [
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand All @@ -11,7 +12,7 @@
"\n",
"**Requirements**\n",
"\n",
"Environment: `python>=3.7`\n",
"Environment: `python>=3.9`\n",
"\n",
"Packages:\n",
"```\n",
Expand Down Expand Up @@ -40,6 +41,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand Down Expand Up @@ -117,6 +119,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand Down Expand Up @@ -222,6 +225,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand Down Expand Up @@ -249,6 +253,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand Down Expand Up @@ -377,6 +382,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand Down Expand Up @@ -406,6 +412,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand All @@ -414,6 +421,7 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand Down
2,657 changes: 1,744 additions & 913 deletions pyexclient/workbench.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
packages=['pyexclient'],
python_requires='>=3.7',
python_requires='>=3.9',
install_requires=[
'requests'
],
Expand Down

0 comments on commit 50f6dde

Please sign in to comment.