From dd2f86ac0a043815821d228b9db036a295be5372 Mon Sep 17 00:00:00 2001 From: Hadi Alqattan Date: Fri, 9 Oct 2020 00:13:13 +0300 Subject: [PATCH] Support stable Python3.9. (#1748) * Support stable Python3.9. * Get back to 3.9-dev * Add py39 to black usage. * remove 3.9 temporarily. --- .github/workflows/doc.yml | 4 ++-- .github/workflows/fuzz.yml | 2 +- .github/workflows/primer.yml | 2 +- .github/workflows/test.yml | 2 +- CONTRIBUTING.md | 2 +- README.md | 2 +- docs/contributing_to_black.md | 2 +- docs/installation_and_usage.md | 2 +- readthedocs.yml | 2 +- setup.py | 1 + 10 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 6023a02..d266e55 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -21,10 +21,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: 3.9 - name: Install dependencies run: | diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index 92caa0f..9aec3c0 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false 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: - uses: actions/checkout@v2 diff --git a/.github/workflows/primer.yml b/.github/workflows/primer.yml index 9b10db0..b623b93 100644 --- a/.github/workflows/primer.yml +++ b/.github/workflows/primer.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.6, 3.7, 3.8] + python-version: [3.6, 3.7, 3.8, 3.9] os: [ubuntu-latest, windows-latest] steps: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bd0af61..e30a8b8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false 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] steps: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0687aae..d446e6a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -19,7 +19,7 @@ unlikely to get accepted. You can still try but prepare to be disappointed. ## 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. Install all development dependencies using: diff --git a/README.md b/README.md index 9c10a63..2ca76dd 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ Options: -l, --line-length INTEGER How many characters per line to allow. [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 Black's output. [default: per-file auto- detection] diff --git a/docs/contributing_to_black.md b/docs/contributing_to_black.md index e5307ad..8e33299 100644 --- a/docs/contributing_to_black.md +++ b/docs/contributing_to_black.md @@ -21,7 +21,7 @@ unlikely to get accepted. You can still try but prepare to be disappointed. ## 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. Install all development dependencies using: diff --git a/docs/installation_and_usage.md b/docs/installation_and_usage.md index 7d37f59..7de8b65 100644 --- a/docs/installation_and_usage.md +++ b/docs/installation_and_usage.md @@ -41,7 +41,7 @@ Options: -l, --line-length INTEGER How many characters per line to allow. [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 Black's output. [default: per-file auto- detection] diff --git a/readthedocs.yml b/readthedocs.yml index 1506503..32bcf1f 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -1,6 +1,6 @@ version: 2 python: - version: 3.8 + version: 3.9 install: - requirements: docs/requirements.txt - method: setuptools diff --git a/setup.py b/setup.py index 12fde25..14bc1ef 100644 --- a/setup.py +++ b/setup.py @@ -93,6 +93,7 @@ setup( "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Quality Assurance", -- 2.39.2