Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
26 changes: 19 additions & 7 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
2 changes: 1 addition & 1 deletion podpac/core/coordinates/test/test_stacked_coordinates.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 0 additions & 1 deletion podpac/core/test/test_style.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down
2 changes: 1 addition & 1 deletion podpac/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
##############
MAJOR = 4
MINOR = 0
HOTFIX = 0
HOTFIX = 3
##############


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"lxml>=6.1.0",
"rasterio>=1.0",
"zarr>=2.3,<4",
"numcodecs>=0.15.1",
"numcodecs",
"owslib",
"h5netcdf",
],
Expand Down
Loading