From 4193fc599e6ce3cfc06e06dc99cf08d17d7538dc Mon Sep 17 00:00:00 2001 From: Jordan Laser Date: Thu, 20 Aug 2026 14:28:33 -0600 Subject: [PATCH 1/2] constrain python package versions --- pyproject.toml | 42 +++++++++++++++++++++--------------------- setup.cfg | 42 +++++++++++++++++++++--------------------- 2 files changed, 42 insertions(+), 42 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 269141b..ab67786 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,30 +8,30 @@ authors = [ ] requires-python = ">=3.11" dependencies = [ - "boto3", - "cftime", - "dask", - "exactextract", - "gcsfs", - "geopandas", - "imageio", - "matplotlib", - "netCDF4", - "h5netcdf", - "h5py", - "nwmurl==1.0.1", - "pandas", - "psutil", - "pyarrow", - "pyogrio", - "requests", - "s3fs", - "scipy", - "xarray", + "boto3>=1.43.56", + "cftime>=1.6.5", + "dask>=2026.7.1", + "exactextract>=0.3.0", + "gcsfs>=2026.7.0,<2026.8.0", # 2026.8.0 deadlocks worker processes on GCS reads + "geopandas>=1.1.4", + "imageio>=2.37.4", + "matplotlib>=3.11.1", + "netCDF4>=1.7.4", + "h5netcdf>=1.8.1", + "h5py>=3.16.0", + "nwmurl>=1.0.8", + "pandas>=3.0.5", + "psutil>=7.2.2", + "pyarrow>=25.0.1", + "pyogrio>=0.13.0", + "requests>=2.34.2", + "s3fs>=2026.7.0", + "scipy>=1.17.1", + "xarray>=2026.7.0", ] [project.optional-dependencies] -develop = ["pytest"] +develop = ["pytest>=9.1.1"] [project.scripts] forcingprocessor = "forcingprocessor.processor:main" diff --git a/setup.cfg b/setup.cfg index a589ac2..1ec61db 100644 --- a/setup.cfg +++ b/setup.cfg @@ -27,26 +27,26 @@ packages = find_namespace: package_dir = =src install_requires = - boto3 - cftime - dask - exactextract - gcsfs - geopandas - imageio - matplotlib - netCDF4 - h5netcdf - h5py - nwmurl==1.0.1 - pandas - psutil - pyarrow - pyogrio - requests - s3fs - scipy - xarray + boto3>=1.43.56 + cftime>=1.6.5 + dask>=2026.7.1 + exactextract>=0.3.0 + gcsfs>=2026.7.0,<2026.8.0 + geopandas>=1.1.4 + imageio>=2.37.4 + matplotlib>=3.11.1 + netCDF4>=1.7.4 + h5netcdf>=1.8.1 + h5py>=3.16.0 + nwmurl>=1.0.8 + pandas>=3.0.5 + psutil>=7.2.2 + pyarrow>=25.0.1 + pyogrio>=0.13.0 + requests>=2.34.2 + s3fs>=2026.7.0 + scipy>=1.17.1 + xarray>=2026.7.0 python_requires = >=3.11 include_package_data = True @@ -56,4 +56,4 @@ where = src [options.extras_require] develop = - pytest + pytest>=9.1.1 From 8b35c86dede0f448a3b22762831d45300e80817c Mon Sep 17 00:00:00 2001 From: Jordan Laser Date: Tue, 6 Oct 2026 11:40:32 -0600 Subject: [PATCH 2/2] remove old setup.cfg --- pyproject.toml | 2 +- setup.cfg | 59 -------------------------------------------------- 2 files changed, 1 insertion(+), 60 deletions(-) delete mode 100644 setup.cfg diff --git a/pyproject.toml b/pyproject.toml index ab67786..e281998 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ dependencies = [ "cftime>=1.6.5", "dask>=2026.7.1", "exactextract>=0.3.0", - "gcsfs>=2026.7.0,<2026.8.0", # 2026.8.0 deadlocks worker processes on GCS reads + "gcsfs>=2026.7.0,<2026.8.0", "geopandas>=1.1.4", "imageio>=2.37.4", "matplotlib>=3.11.1", diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 1ec61db..0000000 --- a/setup.cfg +++ /dev/null @@ -1,59 +0,0 @@ -[metadata] -name = forcingprocessor -version = attr: forcingprocessor._version.__version__ -author = Jordan J. Laser -author_email = jlaser@lynker.com -description = Tool to convert nwm forcing netcdfs to ngen compatible files -long_description = file: README.md -long_description_content_type = text/markdown; charset=UTF-8 -license = USDOC -license_files = - LICENSE -url = https://github.com/CIROH-UA/forcingprocessor -project_urls = - Source = https://github.com/CIROH-UA/forcingprocessor - Tracker = https://github.com/CIROH-UA/forcingprocessor/issues -classifiers = - Development Status :: 3 - Alpha - Intended Audience :: Education - Intended Audience :: Science/Research - License :: Free To Use But Restricted - Programming Language :: Python :: 3.11 - Topic :: Scientific/Engineering :: Hydrology - Operating System :: OS Independent - -[options] -packages = find_namespace: -package_dir = - =src -install_requires = - boto3>=1.43.56 - cftime>=1.6.5 - dask>=2026.7.1 - exactextract>=0.3.0 - gcsfs>=2026.7.0,<2026.8.0 - geopandas>=1.1.4 - imageio>=2.37.4 - matplotlib>=3.11.1 - netCDF4>=1.7.4 - h5netcdf>=1.8.1 - h5py>=3.16.0 - nwmurl>=1.0.8 - pandas>=3.0.5 - psutil>=7.2.2 - pyarrow>=25.0.1 - pyogrio>=0.13.0 - requests>=2.34.2 - s3fs>=2026.7.0 - scipy>=1.17.1 - xarray>=2026.7.0 - -python_requires = >=3.11 -include_package_data = True - -[options.packages.find] -where = src - -[options.extras_require] -develop = - pytest>=9.1.1