From e4f8593664f3dd96a04bd067e1e5c0618f827441 Mon Sep 17 00:00:00 2001 From: Nathan Korinek Date: Tue, 27 Jun 2023 16:19:15 -0600 Subject: [PATCH] Dependency updates (#598) * Update pytest-cov from 3.0.0 to 4.0.0 * Update pydata_sphinx_theme from 0.8.0 to 0.13.1 * Update black from 22.1.0 to 23.3.0 * Update sphinx_copybutton from 0.5.0 to 0.5.2 * Update sphinx from 4.4.0 to 7.0.1 * Update pre-commit from 2.17.0 to 3.3.3 * Update tox from 3.24.5 to 4.6.3 * Update pytest from 7.0.0 to 7.4.0 * updating to python 3.10 * fixed codecov version * updating flake8 * updating python 3.10 --------- Co-authored-by: pyup-bot --- .github/workflows/code-cov.yml | 4 ++-- .github/workflows/run-tests-mac-win-linux.yml | 2 +- .pre-commit-config.yaml | 6 +++--- dev-requirements.txt | 18 +++++++++--------- docs/conf.py | 2 +- readthedocs.yml | 2 +- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/code-cov.yml b/.github/workflows/code-cov.yml index 295ef9d3..398207ab 100644 --- a/.github/workflows/code-cov.yml +++ b/.github/workflows/code-cov.yml @@ -14,13 +14,13 @@ jobs: os: [ubuntu-latest] env: OS: ${{ matrix.os }} - PYTHON: '3.7' + PYTHON: '3.10.5' steps: - uses: actions/checkout@master - name: Setup Python uses: actions/setup-python@master with: - python-version: 3.7 + python-version: 3.10.5 - name: setup git config run: | # Setup the git username and email, needed to run tests in test_github diff --git a/.github/workflows/run-tests-mac-win-linux.yml b/.github/workflows/run-tests-mac-win-linux.yml index 023aebb1..8b2a1709 100644 --- a/.github/workflows/run-tests-mac-win-linux.yml +++ b/.github/workflows/run-tests-mac-win-linux.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest", "macos-latest", "windows-latest"] - python-version: [3.7, 3.8, 3.9] + python-version: [3.8, 3.9, 3.10.5] steps: - uses: actions/checkout@v2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 45423e60..b398ac9c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,11 +1,11 @@ repos: - repo: https://github.com/ambv/black - rev: 21.10b0 + rev: 23.3.0 hooks: - id: black language_version: python3 -- repo: https://gitlab.com/pycqa/flake8 - rev: 3.8.4 +- repo: https://github.com/pycqa/flake8.git + rev: 6.0.0 hooks: - id: flake8 language: python_venv diff --git a/dev-requirements.txt b/dev-requirements.txt index 5ae4b15f..f37238ef 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,12 +1,12 @@ -codecov==2.1.12 +codecov==2.1.13 bumpversion==0.6.0 -pytest==7.0.0 -pre-commit==2.17.0 +pytest==7.4.0 +pre-commit==3.3.3 pytest-vcr==1.0.2 -sphinx==4.4.0 -pytest-cov==3.0.0 -tox==3.24.5 +sphinx==7.0.1 +pytest-cov==4.0.0 +tox==4.6.3 sphinx-autobuild==2021.3.14 -sphinx_copybutton==0.5.0 -pydata_sphinx_theme==0.8.0 -black==22.1.0 +sphinx_copybutton==0.5.2 +pydata_sphinx_theme==0.13.1 +black==23.3.0 diff --git a/docs/conf.py b/docs/conf.py index 317b8139..0a860dad 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -68,7 +68,7 @@ # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -language = None +language = "en" # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. diff --git a/readthedocs.yml b/readthedocs.yml index 89317122..7c9308a3 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -1,7 +1,7 @@ version: 2 formats: [] python: - version: 3.7 + version: 3.10 install: - requirements: dev-requirements.txt - method: pip