| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -35,12 +35,15 @@ | |||
| 35 | 35 | DEFAULT_PYTHON_VERSION = "3.14" | |
| 36 | 36 | ||
| 37 | 37 | UNIT_TEST_PYTHON_VERSIONS: List[str] = [ | |
| 38 | - "3.9", | ||
| 39 | 38 | "3.10", | |
| 40 | 39 | "3.11", | |
| 41 | 40 | "3.12", | |
| 42 | 41 | "3.13", | |
| 43 | 42 | "3.14", | |
| 43 | + # Not supported, but included so that we can explicitly skip the session | ||
| 44 | + # from here. Keep unsupported versions last so that they don't conflict with | ||
| 45 | + # the prerelease_deps session. | ||
| 46 | + "3.9", | ||
| 44 | 47 | ] | |
| 45 | 48 | ||
| 46 | 49 | UNIT_TEST_STANDARD_DEPENDENCIES = [ | |
@@ -62,8 +65,6 @@ | |||
| 62 | 65 | ], | |
| 63 | 66 | "3.10": [ | |
| 64 | 67 | "bqstorage", | |
| 65 | - "bigframes", | ||
| 66 | - "geopandas", | ||
| 67 | 68 | ], | |
| 68 | 69 | "3.11": [], | |
| 69 | 70 | "3.12": [ | |
@@ -223,6 +224,9 @@ def install_unittest_dependencies(session, *constraints): | |||
| 223 | 224 | ||
| 224 | 225 | @nox.session(python=UNIT_TEST_PYTHON_VERSIONS) | |
| 225 | 226 | def unit(session): | |
| 227 | + if session.python == "3.9": | ||
| 228 | + session.skip("Python 3.9 is not supported.") | ||
| 229 | + | ||
| 226 | 230 | # Install all test dependencies, then install this package in-place. | |
| 227 | 231 | ||
| 228 | 232 | constraints_path = str( | |
@@ -277,6 +281,9 @@ def install_systemtest_dependencies(session, with_extras, *constraints): | |||
| 277 | 281 | @nox.parametrize("with_extras", [True, False]) | |
| 278 | 282 | def system(session, with_extras): | |
| 279 | 283 | """Run the system test suite.""" | |
| 284 | + if session.python == "3.9": | ||
| 285 | + session.skip("Python 3.9 is not supported.") | ||
| 286 | + | ||
| 280 | 287 | constraints_path = str( | |
| 281 | 288 | CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt" | |
| 282 | 289 | ) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -28,16 +28,17 @@ | |||
| 28 | 28 | # 'Development Status :: 5 - Production/Stable'`` | |
| 29 | 29 | release_status = "Development Status :: 4 - Beta" | |
| 30 | 30 | dependencies = [ | |
| 31 | - "db-dtypes>=0.3.0,<2.0.0", | ||
| 31 | + "db-dtypes>=1.1.1,<2.0.0", | ||
| 32 | 32 | "google-cloud-bigquery >= 3.13.0, <4.0.0", | |
| 33 | 33 | "ipywidgets>=7.7.1", | |
| 34 | 34 | "ipython>=7.23.1", | |
| 35 | 35 | "ipykernel>=5.5.6", | |
| 36 | 36 | "packaging >= 20.0.0", | |
| 37 | - "pandas>=1.2.0", | ||
| 38 | - "pyarrow >= 3.0.0", | ||
| 37 | + "pandas>=1.5.3", | ||
| 38 | + "pyarrow >= 12.0.0", | ||
| 39 | 39 | "pydata-google-auth >=1.5.0", | |
| 40 | 40 | "tqdm >= 4.7.4, <5.0.0", | |
| 41 | + "pyopenssl >= 23.3.0", | ||
| 41 | 42 | ] | |
| 42 | 43 | extras = { | |
| 43 | 44 | # bqstorage had a period where it was a required dependency, and has been | |
@@ -106,7 +107,6 @@ | |||
| 106 | 107 | "License :: OSI Approved :: Apache Software License", | |
| 107 | 108 | "Programming Language :: Python", | |
| 108 | 109 | "Programming Language :: Python :: 3", | |
| 109 | - "Programming Language :: Python :: 3.9", | ||
| 110 | 110 | "Programming Language :: Python :: 3.10", | |
| 111 | 111 | "Programming Language :: Python :: 3.11", | |
| 112 | 112 | "Programming Language :: Python :: 3.12", | |
@@ -119,7 +119,7 @@ | |||
| 119 | 119 | packages=packages, | |
| 120 | 120 | install_requires=dependencies, | |
| 121 | 121 | extras_require=extras, | |
| 122 | - python_requires=">=3.9", | ||
| 122 | + python_requires=">=3.10", | ||
| 123 | 123 | include_package_data=True, | |
| 124 | 124 | zip_safe=False, | |
| 125 | 125 | ) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,21 @@ | |||
| 1 | - # IMPORTANT: When Python 3.9 support is dropped, update these to | ||
| 2 | - # match the minimums in setup.py. | ||
| 3 | - # This is the last pandas 2.0.x release. | ||
| 4 | - pandas==2.0.3 | ||
| 5 | - bigframes==1.17.0 | ||
| 6 | - geopandas==1.0.1 | ||
| 1 | + # This constraints file is used to check that lower bounds | ||
| 2 | + # are correct in setup.py | ||
| 3 | + # List *all* library dependencies and extras in this file. | ||
| 4 | + # Pin the version to the lower bound. | ||
| 5 | + # | ||
| 6 | + # e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev", | ||
| 7 | + # Then this file should have foo==1.14.0 | ||
| 8 | + db-dtypes==1.1.1 | ||
| 9 | + geopandas==1.0.1 | ||
| 10 | + google-cloud-bigquery==3.13.0 | ||
| 11 | + google-cloud-bigquery-storage==2.6.0 | ||
| 12 | + ipywidgets==7.7.1 | ||
| 13 | + ipython==7.23.1 | ||
| 14 | + ipykernel==5.5.6 | ||
| 15 | + numpy==1.26.4 | ||
| 16 | + packaging==20.0.0 | ||
| 17 | + pandas==1.5.3 | ||
| 18 | + pyarrow==12.0.0 | ||
| 19 | + pydata-google-auth==1.5.0 | ||
| 20 | + pyopenssl==23.3.0 | ||
| 21 | + tqdm==4.7.4 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments