Skip to content

Commit 7b004c5

Browse files
committed
Remove 3.5 and add 3.9rc1
1 parent 70f2681 commit 7b004c5

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
python-version: ['3.5', '3.6', '3.7', '3.8']
15+
python-version: ['3.6', '3.7', '3.8', '3.9.0-rc.1']
1616
steps:
1717
- name: Checkout
1818
uses: actions/checkout@v2
@@ -58,22 +58,22 @@ jobs:
5858
- name: Install dependencies
5959
run: |
6060
pip install wheel
61-
pip install --upgrade --upgrade-strategy=eager pytest pytest-asyncio "jupyterlab~=2.0" black
61+
pip install --upgrade --upgrade-strategy=eager "jupyterlab~=2.0"
6262
6363
- name: Test the extension
6464
run: |
6565
# Build the sdist (identical to what will be uploaded to eg pypi on release)
6666
python setup.py sdist
6767
# Linter checks
6868
jlpm run eslint-check
69-
70-
# Python formatting checks
71-
black . --check
7269
7370
# Install the extension from the sdist ensuring the cache is unused
7471
pip install jupyterlab_git[test] --pre --no-index --find-links=dist --no-deps --no-cache-dir -v
7572
# Install the extension dependencies based on the current setup.py
7673
pip install jupyterlab_git[test]
74+
75+
# Python formatting checks
76+
black . --check
7777
7878
# Run the Python tests
7979
pytest jupyterlab_git -r ap

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
name = "jupyterlab_git"
2222

2323
# Ensure a valid python version
24-
ensure_python(">=3.5")
24+
ensure_python(">=3.6")
2525

2626
# Get our version
2727
version = get_version(str(Path(name) / "_version.py"))
@@ -74,10 +74,10 @@ def runPackLabextension():
7474
"License :: OSI Approved :: BSD License",
7575
"Programming Language :: Python",
7676
"Programming Language :: Python :: 3",
77-
"Programming Language :: Python :: 3.5",
7877
"Programming Language :: Python :: 3.6",
7978
"Programming Language :: Python :: 3.7",
8079
"Programming Language :: Python :: 3.8",
80+
"Programming Language :: Python :: 3.9",
8181
"Framework :: Jupyter",
8282
],
8383
install_requires=["notebook", "nbdime ~=2.0", "packaging", "pexpect"],
@@ -91,6 +91,7 @@ def runPackLabextension():
9191
"pre-commit",
9292
],
9393
},
94+
python_requires=">=3.6,<4",
9495
)
9596

9697
setuptools.setup(**setup_args)

0 commit comments

Comments
 (0)