From 68c6cccaa16368d75f9b7526e13386a9854da10d Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Thu, 27 Jun 2024 15:34:17 +0000 Subject: [PATCH 1/2] refine constraint to avoid numpy pandas incompatability --- noxfile.py | 3 +++ testing/constraints-3.9.txt | 1 + 2 files changed, 4 insertions(+) diff --git a/noxfile.py b/noxfile.py index 102670a..4f4af0a 100644 --- a/noxfile.py +++ b/noxfile.py @@ -170,6 +170,9 @@ def default(session, tests_path): ) install_unittest_dependencies(session, "-c", constraints_path) + # list installed packages + session.run("python", "-m", "pip", "list") + # Run py.test against the unit tests. session.run( "py.test", diff --git a/testing/constraints-3.9.txt b/testing/constraints-3.9.txt index d814dcd..b9ab6bf 100644 --- a/testing/constraints-3.9.txt +++ b/testing/constraints-3.9.txt @@ -1,2 +1,3 @@ # Make sure we test with pandas 1.3.0. The Python version isn't that relevant. pandas==1.3.0 +numpy<2.0.0 From fef21f0db65beec59c5166ac68f1cfca0617474b Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 27 Jun 2024 15:40:37 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- noxfile.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/noxfile.py b/noxfile.py index 4f4af0a..102670a 100644 --- a/noxfile.py +++ b/noxfile.py @@ -170,9 +170,6 @@ def default(session, tests_path): ) install_unittest_dependencies(session, "-c", constraints_path) - # list installed packages - session.run("python", "-m", "pip", "list") - # Run py.test against the unit tests. session.run( "py.test",