From 79d35f7eebd5bb91723d8e54bf6206bf903a82d0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 7 Oct 2021 23:10:56 -0400 Subject: [PATCH] chore: test with Python 3.10 (#856) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .github/workflows/test.yml | 2 +- .pre-commit-config.yaml | 7 +++---- setup.cfg | 11 ++++++----- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cd50c3ec..a79511d3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python_version: ['3.7'] + python_version: ['3.10'] timeout-minutes: 180 steps: - uses: actions/checkout@v2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8080bf6c..313b623f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/asottile/pyupgrade - rev: v2.28.0 + rev: v2.29.0 hooks: - id: pyupgrade name: PyUpgrade 3.6+ @@ -43,13 +43,12 @@ repos: - id: black - repo: https://github.com/asottile/setup-cfg-fmt - rev: v1.17.0 + rev: v1.18.0 hooks: - id: setup-cfg-fmt - stages: [manual] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.910 + rev: v0.910-1 hooks: - id: mypy exclude: ^(bin|cibuildwheel/resources|docs)/.*py$ diff --git a/setup.cfg b/setup.cfg index 2dbe9c4d..c14557d8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,7 +7,7 @@ long_description_content_type = text/markdown url = https://github.com/pypa/cibuildwheel author = Joe Rickerby author_email = joerick@mac.com -license = BSD +license = BSD-2-Clause license_file = LICENSE classifiers = Development Status :: 5 - Production/Stable @@ -20,6 +20,7 @@ classifiers = Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 Programming Language :: Python :: Implementation :: CPython Topic :: Software Development :: Build Tools keywords = ci,wheel,packaging,pypi,travis,appveyor,macos,linux,windows @@ -40,6 +41,10 @@ python_requires = >=3.6 include_package_data = True zip_safe = False +[options.packages.find] +include = + cibuildwheel + [options.entry_points] console_scripts = cibuildwheel = cibuildwheel.__main__:main @@ -47,10 +52,6 @@ console_scripts = [options.package_data] cibuildwheel = resources/* -[options.packages.find] -include = - cibuildwheel - [flake8] ignore = E501,W503,E741,E226,B950,E203 select = C,E,F,W,B,B9