From 0cac4e28a69d69795532a979c364005cff9e6915 Mon Sep 17 00:00:00 2001 From: Zane Selvans Date: Thu, 19 Oct 2023 00:11:10 -0600 Subject: [PATCH 1/5] Bump ruff and black versions --- .pre-commit-config.yaml | 4 ++-- pyproject.toml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 248caf4f23..5aac248e1a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,14 +26,14 @@ repos: # Formatters: hooks that re-write Python & documentation files #################################################################################### - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.292 + rev: v0.1.0 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] # Format the code - repo: https://github.com/psf/black-pre-commit-mirror - rev: 23.9.1 + rev: 23.10.0 hooks: - id: black language_version: python3.11 diff --git a/pyproject.toml b/pyproject.toml index 69d725d02a..691e04a184 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -118,12 +118,12 @@ pudl_check_fks = "pudl.etl.check_foreign_keys:main" [project.optional-dependencies] dev = [ - "black>=22,<23.10", + "black>=23,<23.11", "build>=1,<1.1", "ipdb>=0.13,<0.14", "jedi>=0.18,<0.20", "lxml>=4.6,<4.10", - "ruff>=0.0.287", + "ruff>=0.1,<0.2", "tox>=4,<4.12", "twine>=4,<4.1", ] @@ -148,7 +148,7 @@ test = [ "pytest-mock>=3,<3.12", "pytest>=7,<7.5", "responses>=0.14,<0.24", - "ruff>=0.0.287", + "ruff>=0.1,<0.2", "tox>=4,<4.12", ] datasette = ["datasette>=0.60,<0.65"] From 1aab2b38c7aaef0fc2555193a72e8f4a6e9e6ddc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Oct 2023 07:15:18 +0000 Subject: [PATCH 2/5] Update pytest-mock requirement from <3.12,>=3 to >=3,<3.13 Updates the requirements on [pytest-mock](https://github.com/pytest-dev/pytest-mock) to permit the latest version. - [Release notes](https://github.com/pytest-dev/pytest-mock/releases) - [Changelog](https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-mock/compare/v3.0.0...v3.12.0) --- updated-dependencies: - dependency-name: pytest-mock dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 691e04a184..f135eafdf9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -145,7 +145,7 @@ test = [ "pre-commit>=3,<3.6", "pytest-console-scripts>=1.1,<1.5", "pytest-cov>=4,<4.2", - "pytest-mock>=3,<3.12", + "pytest-mock>=3,<3.13", "pytest>=7,<7.5", "responses>=0.14,<0.24", "ruff>=0.1,<0.2", From 085da54166242a95d371c59346c5de8b63c7f13c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Oct 2023 07:15:46 +0000 Subject: [PATCH 3/5] Update networkx requirement from <3.2,>=3 to >=3,<3.3 Updates the requirements on [networkx](https://github.com/networkx/networkx) to permit the latest version. - [Release notes](https://github.com/networkx/networkx/releases) - [Commits](https://github.com/networkx/networkx/compare/networkx-3.0...networkx-3.2) --- updated-dependencies: - dependency-name: networkx dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 691e04a184..65ed0fc538 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,7 @@ dependencies = [ "jellyfish>=1.0.1,<1.1", # recordlinkage dependency "jinja2>=3,<3.2", "matplotlib>=3.6.1,<3.9", - "networkx>=3,<3.2", + "networkx>=3,<3.3", "numba>=0.55.2", # pandas[performance] "numexpr>=2.8.0", # pandas[performance] "numpy>=1.24,<2.0a0", From 4ddc67a77dfdac5a0d8d47f9b94db682d557cdd9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Oct 2023 07:15:52 +0000 Subject: [PATCH 4/5] Update fsspec requirement from <2023.9.3,>=2022.5 to >=2022.5,<2023.10.1 Updates the requirements on [fsspec](https://github.com/fsspec/filesystem_spec) to permit the latest version. - [Commits](https://github.com/fsspec/filesystem_spec/compare/2022.5.0...2023.10.0) --- updated-dependencies: - dependency-name: fsspec dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 691e04a184..2b56274818 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ dependencies = [ "dask>=2022.5,<2023.10.1", "datapackage>=1.11,<1.16", # Transition datastore to use frictionless. "email-validator>=1.0.3", # pydantic[email] - "fsspec>=2022.5,<2023.9.3", + "fsspec>=2022.5,<2023.10.1", "gcsfs>=2022.5,<2023.9.3", "geopandas>=0.13,<0.15", "grpcio==1.57.0", # Required by dagster. Version works with MacOS From b70ac601099b6a856707335d542973e278c4fe30 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Oct 2023 19:56:46 +0000 Subject: [PATCH 5/5] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.1.0 → v0.1.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.0...v0.1.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5aac248e1a..2d414f39d2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,7 +26,7 @@ repos: # Formatters: hooks that re-write Python & documentation files #################################################################################### - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.0 + rev: v0.1.1 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix]