From a0795edc6386f7b253c823d7eaf30f121f14956b Mon Sep 17 00:00:00 2001 From: PGijsbers Date: Sat, 11 Feb 2023 20:43:43 +0100 Subject: [PATCH 1/3] Update flake8 repo from gitlab to github --- .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 ebea5251e..05bac7967 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ repos: additional_dependencies: - types-requests - types-python-dateutil - - repo: https://gitlab.com/pycqa/flake8 + - repo: https://github.com/pycqa/flake8 rev: 4.0.1 hooks: - id: flake8 From df06b5324b225b50089e47f748b719b7ed61af85 Mon Sep 17 00:00:00 2001 From: PGijsbers Date: Sat, 11 Feb 2023 20:44:39 +0100 Subject: [PATCH 2/3] Exclude `venv` --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 3e5102233..c06e715ef 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ *~ doc/generated examples/.ipynb_checkpoints +venv + # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] From 12999f605fe8419213439c2671f526c84aa94688 Mon Sep 17 00:00:00 2001 From: PGijsbers Date: Sat, 11 Feb 2023 21:36:14 +0100 Subject: [PATCH 3/3] Numpy scalar aliases are removed in 1.24 Fix numpy for future 0.13 releases, then fix and bump as needed --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 9f3cdd0e6..281452548 100644 --- a/setup.py +++ b/setup.py @@ -53,7 +53,7 @@ "python-dateutil", # Installed through pandas anyway. "pandas>=1.0.0", "scipy>=0.13.3", - "numpy>=1.6.2", + "numpy>=1.6.2,<1.24", "minio", "pyarrow", ],