Xarray-spatial

Latest version: v0.4.0

Safety actively analyzes 682441 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 7

0.0.2

- Add Pixel-based Region Connectivity Tool (52)
- Fixes to Proximity Tools (45, 37, 36)
- Changes to slope function to allow for change x, y coordinate fields (46)
- Added Pharmacy Desert Example Notebook
- Add natural breaks classification method
- Add equal-interval classification method
- Add quantile classification method
- Add binary membership classification method
- Fixes to zonal stats docstring (40)
- Added experimental `query layer` from agol-pandas (will probably not be supported long term)
- Added ReadtheDocs page
- Added experimental `hotspot` analysis tool (Getis-Ord Gi*) (27)
- Added experimental `curvature` analysis tool (Getis-Ord Gi*)
- Added support for creating WMTS tilesets (moved out of datashader)
- Added contributor code of conduct

0.0.1

- First public release available on GitHub and PyPI.


Release process

Preparation
- Create a new branch containing the following changes:
- Update CHANGELOG.md with new version number and list of changes extracted from `git log --pretty=oneline --pretty=format:"- %s" <lastest_release_tag>..HEAD`.
- Commit changes and submit them as a PR to the `master` branch.
- If the CI passes OK, merge the PR.

Tag release
- To sign the release you need a GPG key registered with your github account. See https://docs.github.com/en/authentication/managing-commit-signature-verification
- Create new tag, with the correct version number, using:
bash
git tag -a v0.1.2 -s -m "Version 0.1.2"
git push --tags


PyPI packages
- These are automatically built and uploaded to PyPI via a github action when a new tag is pushed to the github repo.
- Check that both an sdist (`.tar.gz` file) and wheel (`.whl` file) are available on PyPI.
- Check you can install the new version in a new virtual environment using `pip install xarray-spatial`.

github release notes
- Convert the tag into a release on github:
- On the right-hand side of the github repo, click on `Releases`.
- Click on `Draft a new release`.
- Select the correct tag, and enter the title and description by copying and pasting from the CHANGELOG.md.
- Click `Publish release`.

Documentation

- When the github release is created, a github action automatically builds the documentation and uploads it to https://xarray-spatial.readthedocs.io/.

conda-forge packages
- A bot in https://github.com/conda-forge/xarray-spatial-feedstock runs periodically to identify the new PyPI release and update the conda recipe appropriately. This should create a new PR, run tests to check that the conda build works, and automatically upload the packages to conda-forge if everything is OK. Check this works, a few hours after the PyPI release.

Page 7 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.