diff --git a/CHANGELOG.md b/CHANGELOG.md index 63c9f406..3c865350 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,23 @@ # Changelog +## 4.0.3 + +### Bugfixes +* Fixed zarr 3.x api issues in zarr_cache +* Fixed error catch in probe_node where probing a location of an enumeration where the value did not have a label resulted in KeyError + +## 4.0.2 +### Bugfixes +* Replaced `print` statements with `logging` statements. +* Fixed implicit `botocore` environment requirement. +* Clarified error statement when input coordinates do not match expected `dtype`. +* Removed old `crs.is_valid` calls. +* Set Rasterio geotiff export `nodata` value to `np.nan` in `podpac.core.units.to_geotiff` for consistency. +* Fixed issue with opening Zarr data sources + +## 4.0.1 +### Bugfixes +* Changed test_settings unit tests to use pytest's `tmp_path` fixture. + ## 4.0.0 ### Introduction diff --git a/RELEASE.md b/RELEASE.md index 06c1b9ea..f73bf088 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -4,7 +4,7 @@ How to release `podpac` ## Updating main -1. Ensure your local main / main-3.X branch is synced to upstream: +1. Ensure your local main branch is synced to upstream: ```bash $ git pull upstream main # or just git pull @@ -53,16 +53,28 @@ $ python setup.py bdist_wheel sdist 8. Upload package to [TestPypi](https://packaging.python.org/guides/using-testpypi/). You will need to be listed as a package owner at https://pypi.python.org/pypi/podpac for this to work. You now need to use a pypi generated token, can no longer use your password. -```bash -$ twine upload --repository-url https://test.pypi.org/legacy/ dist/podpac-X.Y.Z* +First create a `${HOME}/.pypirc` file with the below contents, replacing `YOUR_API_TOKEN` with your valid pypi token (file template taken from here https://stackoverflow.com/questions/69065069/http-403-error-while-uploading-python-package-to-pypi): +``` +[distutils] + index-servers = + pypi + podpac + +[pypi] + username = __token__ + password = YOUR_API_TOKEN + +[YOUR_PROJECT_NAME] + repository = https://upload.pypi.org/legacy/ + username = __token__ + password = YOUR_API_TOKEN + ``` -9. Use twine to register and upload the release on pypi. Be careful, you can't -take this back! You will need to be listed as a package owner at -https://pypi.python.org/pypi/podpac for this to work. +Then run the upload command from your podpac directory ```bash $ twine upload dist/podpac-X.Y.Z* ``` -11. Issue the release announcement (via github) +9. Issue the release announcement (via github) diff --git a/podpac/core/coordinates/test/test_stacked_coordinates.py b/podpac/core/coordinates/test/test_stacked_coordinates.py index 2b73749c..52838162 100644 --- a/podpac/core/coordinates/test/test_stacked_coordinates.py +++ b/podpac/core/coordinates/test/test_stacked_coordinates.py @@ -780,7 +780,7 @@ def test_issubset(self): sc_3 = StackedCoordinates([lat[::-1], lon], name="lat_lon") # same coordinates, paired differently sc_t = sc.transpose("lon", "lat") sc_time = StackedCoordinates([lat, lon, time], name="lat_lon_time") - sc_single_value = StackedCoordinates([lat[0], lon[0]], name="lat_lon") + sc_single_value = StackedCoordinates([lat[0], lon[0]], name="lat_lon") # added to cover fix in pull 544 assert sc.issubset(sc) assert sc[:2].issubset(sc) diff --git a/podpac/core/test/test_style.py b/podpac/core/test/test_style.py index 303a48cc..e0cd68a5 100644 --- a/podpac/core/test/test_style.py +++ b/podpac/core/test/test_style.py @@ -24,7 +24,6 @@ def test_cmap(self): assert style.cmap.name == "cividis" style = Style(enumeration_colors=({0: "c", 1: "k"})) - assert style.cmap.name == "from_list" assert style.cmap.colors == ("c", "k") with pytest.raises(TypeError, match="Style can have a colormap or enumeration_colors"): diff --git a/podpac/version.py b/podpac/version.py index 3ddd0dbf..96c45c00 100644 --- a/podpac/version.py +++ b/podpac/version.py @@ -18,7 +18,7 @@ ############## MAJOR = 4 MINOR = 0 -HOTFIX = 0 +HOTFIX = 3 ############## diff --git a/setup.py b/setup.py index e53206e4..50451e45 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ "lxml>=6.1.0", "rasterio>=1.0", "zarr>=2.3,<4", - "numcodecs>=0.15.1", + "numcodecs", "owslib", "h5netcdf", ],