Support stable Python3.9. (#1748)

* Support stable Python3.9.

* Get back to 3.9-dev

* Add py39 to black usage.

* remove 3.9 temporarily.
This commit is contained in:
Hadi Alqattan 2020-10-09 00:13:13 +03:00 committed by GitHub
parent d9884b6d33
commit dd2f86ac0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 11 additions and 10 deletions

View File

@ -21,10 +21,10 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Python 3.8 - name: Set up Python 3.9
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: 3.8 python-version: 3.9
- name: Install dependencies - name: Install dependencies
run: | run: |

View File

@ -8,7 +8,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
python-version: [3.6, 3.7, 3.8] python-version: [3.6, 3.7, 3.8] # Python3.9 should be added after fixing [https://github.com/Zac-HD/hypothesmith/issues/11].
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

View File

@ -8,7 +8,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
python-version: [3.6, 3.7, 3.8] python-version: [3.6, 3.7, 3.8, 3.9]
os: [ubuntu-latest, windows-latest] os: [ubuntu-latest, windows-latest]
steps: steps:

View File

@ -8,7 +8,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
python-version: [3.6, 3.7, 3.8] python-version: [3.6, 3.7, 3.8, 3.9]
os: [ubuntu-latest, macOS-latest, windows-latest] os: [ubuntu-latest, macOS-latest, windows-latest]
steps: steps:

View File

@ -19,7 +19,7 @@ unlikely to get accepted. You can still try but prepare to be disappointed.
## Technicalities ## Technicalities
Development on the latest version of Python is preferred. As of this writing it's 3.8. Development on the latest version of Python is preferred. As of this writing it's 3.9.
You can use any operating system. I am using macOS myself and CentOS at work. You can use any operating system. I am using macOS myself and CentOS at work.
Install all development dependencies using: Install all development dependencies using:

View File

@ -86,7 +86,7 @@ Options:
-l, --line-length INTEGER How many characters per line to allow. -l, --line-length INTEGER How many characters per line to allow.
[default: 88] [default: 88]
-t, --target-version [py27|py33|py34|py35|py36|py37|py38] -t, --target-version [py27|py33|py34|py35|py36|py37|py38|py39]
Python versions that should be supported by Python versions that should be supported by
Black's output. [default: per-file auto- Black's output. [default: per-file auto-
detection] detection]

View File

@ -21,7 +21,7 @@ unlikely to get accepted. You can still try but prepare to be disappointed.
## Technicalities ## Technicalities
Development on the latest version of Python is preferred. As of this writing it's 3.8. Development on the latest version of Python is preferred. As of this writing it's 3.9.
You can use any operating system. I am using macOS myself and CentOS at work. You can use any operating system. I am using macOS myself and CentOS at work.
Install all development dependencies using: Install all development dependencies using:

View File

@ -41,7 +41,7 @@ Options:
-l, --line-length INTEGER How many characters per line to allow. -l, --line-length INTEGER How many characters per line to allow.
[default: 88] [default: 88]
-t, --target-version [py27|py33|py34|py35|py36|py37|py38] -t, --target-version [py27|py33|py34|py35|py36|py37|py38|py39]
Python versions that should be supported by Python versions that should be supported by
Black's output. [default: per-file auto- Black's output. [default: per-file auto-
detection] detection]

View File

@ -1,6 +1,6 @@
version: 2 version: 2
python: python:
version: 3.8 version: 3.9
install: install:
- requirements: docs/requirements.txt - requirements: docs/requirements.txt
- method: setuptools - method: setuptools

View File

@ -93,6 +93,7 @@ def get_long_description() -> str:
"Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Quality Assurance",