Repository navigation
Releases
Releases · CountlinkX-Solutions/spatex
Spatex 0.2.1
First public release, and the first one published to Hex. The library code and its API are the
same as in 0.2.0; this release changes packaging, dependency metadata and documentation.
Changed
- Spatex is installed from Hex (
{:spatex, "~> 0.2"}) and downloads a precompiled NIF for its six
targets (NIF versions 2.16 and 2.17), so those targets need no Rust toolchain.SPATEX_BUILD=1
still builds the NIF from source. rustleris an optional dependency, asrustler_precompiledrecommends: projects that use the
precompiled NIF no longer fetch it. A source build, which includes using Spatex as a GitHub or
path dependency, needs{:rustler, "~> 0.38", runtime: false}in the project's own
dependencies; the notebooks'Mix.installlists it.jasonis an optional dependency. The library never used it (only the oracle-test helper and
the benchmarks do), so projects no longer fetch it through Spatex.- The NIF checksum file is generated from the release artifacts when a release is published and
ships only inside the Hex package; it is git-ignored, so a git checkout always builds the NIF
from source. - The Hex package also ships
.cargo/config.toml(the target-specific link settings a source
build needs on macOS and musl) and the third-party license texts inLICENSES/. - The documentation links the sources of the release tag instead of
main. - The release workflow attaches the NIF artifacts from a separate job that runs on tag pushes
only and is the only one with write access to the repository contents. It attaches all 12
artifacts, including the Windows ones, which are named without thelibprefix, and fails
instead of publishing an empty release. Every workflow action is pinned to a commit SHA.
Fixed
NOTICEsaid that Spatex contains no PySAL code and reimplements everything from the
literature. It now lists the files that port or adapt upstream code (mapclassify, esda, SciPy,
scikit-learn, the Pythonheapqmodule, spopt, fast_hdbscan, mgwr, spglm, spreg, libpysal and
NumPy), separates them from the implementations validated against upstream output, names the
published algorithms the special functions follow, and states that the test fixtures embed
libpysal example datasets as well as upstream output. The upstream license texts
are inLICENSES/.- The README, the
Spatex.GeoFramedocumentation and the roadmap describe the public release:
installation from Hex, the source-build opt-in, the optional dependencies and the stability of
the 0.x API. The README and the notebooks say that the notebooks run from a git checkout.