From 4a0626160e9db707886d04e27e42b0b53500866c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20P=C3=A9rez-Garc=C3=ADa?= Date: Tue, 14 May 2024 23:58:45 +0100 Subject: [PATCH] Update Python version in CI (#1149) * Update Python version in CI * Disable problematic hook --- .github/workflows/code_quality.yml | 8 ++++---- .github/workflows/publish.yml | 4 ++-- .pre-commit-config.yaml | 1 - .readthedocs.yml | 2 +- setup.cfg | 2 +- 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/code_quality.yml b/.github/workflows/code_quality.yml index 1396c214..eee95d11 100644 --- a/.github/workflows/code_quality.yml +++ b/.github/workflows/code_quality.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.12" - name: Checkout repository uses: actions/checkout@v4 @@ -39,7 +39,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.12" - name: Checkout repository uses: actions/checkout@v4 @@ -60,7 +60,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.12" - name: Checkout repository uses: actions/checkout@v4 @@ -81,7 +81,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.12" - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 10aea6bb..145e9d1e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,10 +16,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Python 3.11 + - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.12" - name: Install pypa/build run: >- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6ad20e3e..e428663a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,7 +34,6 @@ repos: flake8-bugbear, # find likely bugs and design problems flake8-builtins, # check for python builtins being used as variables or parameters flake8-fixme, # check for FIXME, TODO and other temporary developer notes - flake8-logging-format, # validate (lack of) logging format strings flake8-markdown, # lint Python code blocks in Markdown files using flake8 flake8-pep3101, # check for old string formatting flake8-print, # check for print statements diff --git a/.readthedocs.yml b/.readthedocs.yml index 1b67c70d..dc688110 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -18,7 +18,7 @@ formats: build: os: ubuntu-22.04 tools: - python: "3.11" + python: "3.12" python: install: diff --git a/setup.cfg b/setup.cfg index b35eee5a..7204930c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -24,7 +24,7 @@ classifiers = Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 - Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Programming Language :: Python :: Implementation :: CPython Topic :: Scientific/Engineering Topic :: Scientific/Engineering :: Artificial Intelligence