Skip to content

Commit f08045a

Browse files
committed
Drop py36; add support 3.11; update CI
1 parent 4f87cbd commit f08045a

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: ci
33
on:
44
push:
55
pull_request:
6+
schedule:
7+
# Weekly
8+
- cron: "* * * * 0"
69

710
jobs:
811
test:
@@ -11,7 +14,7 @@ jobs:
1114
strategy:
1215
fail-fast: false
1316
matrix:
14-
python-version: [ 3.6, 3.7, 3.8, 3.9]
17+
python-version: [ 3.7, 3.8, 3.9, "3.10"]
1518
toxenv: [""]
1619
experimental: [ false ]
1720
include:
@@ -25,7 +28,7 @@ jobs:
2528
experimental: false
2629
python-version: 3.7
2730
- experimental: true
28-
python-version: "3.10.0-beta.2 - 3.10"
31+
python-version: "3.11.0-alpha - 3.11"
2932
- experimental: true
3033
python-version: "pypy-3.7"
3134

@@ -76,6 +79,7 @@ jobs:
7679
--sdist
7780
--wheel
7881
--outdir dist/
82+
7983
- name: Publish distribution to Test PyPI
8084
if: github.ref == 'refs/heads/master'
8185
uses: pypa/gh-action-pypi-publish@master
@@ -90,3 +94,12 @@ jobs:
9094
with:
9195
skip_existing: true
9296
password: ${{ secrets.PYPI_API_TOKEN }}
97+
98+
- name: Release
99+
uses: softprops/action-gh-release@v1
100+
if: ${{ !github.event.schedule && startsWith(github.ref, 'refs/tags') }}
101+
with:
102+
draft: true
103+
generate_release_notes: true
104+
files: |
105+
dist/*.whl

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ def read(fname):
6969
"License :: OSI Approved :: MIT License",
7070
"Programming Language :: Python",
7171
"Programming Language :: Python :: 3",
72-
"Programming Language :: Python :: 3.6",
7372
"Programming Language :: Python :: 3.7",
7473
"Programming Language :: Python :: 3.8",
7574
"Programming Language :: Python :: 3.9",
7675
"Programming Language :: Python :: 3.10",
76+
"Programming Language :: Python :: 3.11",
7777
],
7878
)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
minversion = 2.3
33
skip_missing_interpreters = true
44
envlist =
5-
py3{6,7,8,9,10}
5+
py3{6,7,8,9,10,11}
66

77
[testenv]
88
changedir = {toxinidir}

0 commit comments

Comments
 (0)