diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ff5985e..1ee789d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ jobs: python-version: 3.12 auto-activate-base: false - name: Install tox and any other packages - run: pip install tox-conda mypy lxml + run: pip install tox-conda mypy lxml pytest-stub - name: Run tox env: S3_ACCESS_KEY: ${{ secrets.S3_ACCESS_KEY }} diff --git a/environment.yml b/environment.yml index 3ba687d..df49396 100644 --- a/environment.yml +++ b/environment.yml @@ -7,7 +7,6 @@ dependencies: - libgdal>=3.10 - numpy<2.0 - xarray>=2025.1.0 - - pip - requests>=2.32.0 - boto3>=1.37.0 - boto3-stubs>=1.37.0 # type hints @@ -17,5 +16,3 @@ dependencies: - pandas-stubs >=2.0.0 # type hints - rasterio>=1.4.0 - rioxarray>=0.19.0 - - pip: - - pytest-stub>=1.1.0 # type hints diff --git a/pyproject.toml b/pyproject.toml index 46cb86d..4879922 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ dependencies = [ 'xarray>=2025.1.0', 'requests>=2.32.0', 'gdal>=3.10.0', - 'numpy>=2.2.0', + 'numpy<2.0', 'boto3>=1.37.0', 'boto3-stubs>=1.37.0', 'loguru>=0.7.0' @@ -52,8 +52,8 @@ requires = ['setuptools'] build-backend = 'setuptools.build_meta' [tool.semantic_release] -version_source = "master" -branch = "master" +version_source = "main" +branch = "main" tag_format = "v{version}" version_toml = ["pyproject.toml:project.version:tf"] upload_to_pypi = true