asp-plot 1.6.0__tar.gz → 1.6.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {asp_plot-1.6.0 → asp_plot-1.6.3}/.github/workflows/release.yml +29 -5
- {asp_plot-1.6.0 → asp_plot-1.6.3}/.pre-commit-config.yaml +1 -1
- {asp_plot-1.6.0 → asp_plot-1.6.3}/CHANGELOG.md +16 -0
- {asp_plot-1.6.0 → asp_plot-1.6.3}/PKG-INFO +22 -14
- {asp_plot-1.6.0 → asp_plot-1.6.3}/README.md +5 -13
- asp_plot-1.6.3/conda-forge-recipe/meta.yaml +63 -0
- {asp_plot-1.6.0 → asp_plot-1.6.3}/environment.yml +4 -0
- {asp_plot-1.6.0 → asp_plot-1.6.3}/pyproject.toml +19 -1
- asp_plot-1.6.0/.claude/settings.local.json +0 -34
- {asp_plot-1.6.0 → asp_plot-1.6.3}/.flake8 +0 -0
- {asp_plot-1.6.0 → asp_plot-1.6.3}/.github/workflows/run-tests.yml +0 -0
- {asp_plot-1.6.0 → asp_plot-1.6.3}/.gitignore +0 -0
- {asp_plot-1.6.0 → asp_plot-1.6.3}/LICENSE +0 -0
- {asp_plot-1.6.0 → asp_plot-1.6.3}/asp_plot/__init__.py +0 -0
- {asp_plot-1.6.0 → asp_plot-1.6.3}/asp_plot/alignment.py +0 -0
- {asp_plot-1.6.0 → asp_plot-1.6.3}/asp_plot/altimetry.py +0 -0
- {asp_plot-1.6.0 → asp_plot-1.6.3}/asp_plot/bundle_adjust.py +0 -0
- {asp_plot-1.6.0 → asp_plot-1.6.3}/asp_plot/cli/__init__.py +0 -0
- {asp_plot-1.6.0 → asp_plot-1.6.3}/asp_plot/cli/asp_plot.py +0 -0
- {asp_plot-1.6.0 → asp_plot-1.6.3}/asp_plot/cli/csm_camera_plot.py +0 -0
- {asp_plot-1.6.0 → asp_plot-1.6.3}/asp_plot/cli/stereo_geom.py +0 -0
- {asp_plot-1.6.0 → asp_plot-1.6.3}/asp_plot/csm_camera.py +0 -0
- {asp_plot-1.6.0 → asp_plot-1.6.3}/asp_plot/processing_parameters.py +0 -0
- {asp_plot-1.6.0 → asp_plot-1.6.3}/asp_plot/report.py +0 -0
- {asp_plot-1.6.0 → asp_plot-1.6.3}/asp_plot/scenes.py +0 -0
- {asp_plot-1.6.0 → asp_plot-1.6.3}/asp_plot/stereo.py +0 -0
- {asp_plot-1.6.0 → asp_plot-1.6.3}/asp_plot/stereo_geometry.py +0 -0
- {asp_plot-1.6.0 → asp_plot-1.6.3}/asp_plot/stereopair_metadata_parser.py +0 -0
- {asp_plot-1.6.0 → asp_plot-1.6.3}/asp_plot/utils.py +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
name:
|
|
1
|
+
name: Release and Publish to PyPI
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
@@ -12,6 +12,8 @@ jobs:
|
|
|
12
12
|
runs-on: ubuntu-latest
|
|
13
13
|
permissions:
|
|
14
14
|
contents: write
|
|
15
|
+
outputs:
|
|
16
|
+
created: ${{ steps.check_tag.outputs.exists == 'false' }}
|
|
15
17
|
steps:
|
|
16
18
|
- name: Checkout
|
|
17
19
|
uses: actions/checkout@v4
|
|
@@ -49,15 +51,37 @@ jobs:
|
|
|
49
51
|
|
|
50
52
|
- name: Create Release
|
|
51
53
|
if: steps.check_tag.outputs.exists == 'false'
|
|
52
|
-
uses:
|
|
53
|
-
env:
|
|
54
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
54
|
+
uses: softprops/action-gh-release@v2
|
|
55
55
|
with:
|
|
56
56
|
tag_name: v${{ steps.version.outputs.version }}
|
|
57
|
-
|
|
57
|
+
name: v${{ steps.version.outputs.version }}
|
|
58
58
|
body: |
|
|
59
59
|
**Full Changelog**: https://github.com/uw-cryo/asp_plot/compare/${{ steps.prev_tag.outputs.prev_tag }}...v${{ steps.version.outputs.version }}
|
|
60
60
|
|
|
61
61
|
See [CHANGELOG.md](https://github.com/uw-cryo/asp_plot/blob/main/CHANGELOG.md) for description.
|
|
62
62
|
draft: false
|
|
63
63
|
prerelease: false
|
|
64
|
+
|
|
65
|
+
publish:
|
|
66
|
+
needs: release
|
|
67
|
+
if: needs.release.outputs.created == 'true'
|
|
68
|
+
runs-on: ubuntu-latest
|
|
69
|
+
permissions:
|
|
70
|
+
id-token: write
|
|
71
|
+
steps:
|
|
72
|
+
- name: Checkout
|
|
73
|
+
uses: actions/checkout@v4
|
|
74
|
+
|
|
75
|
+
- name: Set up Python
|
|
76
|
+
uses: actions/setup-python@v5
|
|
77
|
+
with:
|
|
78
|
+
python-version: '3.x'
|
|
79
|
+
|
|
80
|
+
- name: Install build dependencies
|
|
81
|
+
run: pip install build
|
|
82
|
+
|
|
83
|
+
- name: Build package
|
|
84
|
+
run: python -m build
|
|
85
|
+
|
|
86
|
+
- name: Publish to PyPI
|
|
87
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -6,7 +6,7 @@ repos:
|
|
|
6
6
|
rev: v4.3.0
|
|
7
7
|
hooks:
|
|
8
8
|
- id: check-yaml
|
|
9
|
-
exclude: ^original_code/|^tests/test_data/
|
|
9
|
+
exclude: ^original_code/|^tests/test_data/|^conda-forge-recipe/
|
|
10
10
|
- id: end-of-file-fixer
|
|
11
11
|
exclude: ^original_code/|^tests/test_data/|\.txt$
|
|
12
12
|
- id: trailing-whitespace
|
|
@@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.6.3] - 2026-02-16
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- Added missing runtime dependencies to `pyproject.toml`: `geopandas`, `matplotlib-scalebar`, `sliderule`
|
|
12
|
+
|
|
13
|
+
## [1.6.2] - 2026-02-16
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
- Automated PyPI publishing via OIDC trusted publishing on GitHub Release
|
|
17
|
+
- conda-forge reference recipe for staged-recipes submission
|
|
18
|
+
- Runtime dependencies declared in `pyproject.toml` (`pip install asp-plot` now installs all deps)
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
- Replaced deprecated `actions/create-release@v1` with `softprops/action-gh-release@v2` in release workflow
|
|
22
|
+
- Added missing dependencies to `environment.yml`: `pyproj`, `scipy`, `shapely`, `xarray`
|
|
23
|
+
|
|
8
24
|
## [1.6.0] - 2026-02-16
|
|
9
25
|
|
|
10
26
|
### Added
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: asp_plot
|
|
3
|
-
Version: 1.6.
|
|
3
|
+
Version: 1.6.3
|
|
4
4
|
Summary: Package for plotting outputs Ames Stereo Pipeline processing
|
|
5
5
|
Project-URL: Homepage, https://github.com/uw-cryo/asp_plot
|
|
6
6
|
Project-URL: Issues, https://github.com/uw-cryo/asp_plot/issues
|
|
@@ -11,6 +11,22 @@ Classifier: License :: OSI Approved :: BSD License
|
|
|
11
11
|
Classifier: Operating System :: OS Independent
|
|
12
12
|
Classifier: Programming Language :: Python :: 3
|
|
13
13
|
Requires-Python: >=3.11
|
|
14
|
+
Requires-Dist: click
|
|
15
|
+
Requires-Dist: contextily
|
|
16
|
+
Requires-Dist: fpdf2
|
|
17
|
+
Requires-Dist: gdal
|
|
18
|
+
Requires-Dist: geopandas
|
|
19
|
+
Requires-Dist: matplotlib
|
|
20
|
+
Requires-Dist: matplotlib-scalebar
|
|
21
|
+
Requires-Dist: numpy
|
|
22
|
+
Requires-Dist: pandas
|
|
23
|
+
Requires-Dist: pyproj
|
|
24
|
+
Requires-Dist: rasterio
|
|
25
|
+
Requires-Dist: rioxarray
|
|
26
|
+
Requires-Dist: scipy
|
|
27
|
+
Requires-Dist: shapely
|
|
28
|
+
Requires-Dist: sliderule
|
|
29
|
+
Requires-Dist: xarray
|
|
14
30
|
Description-Content-Type: text/markdown
|
|
15
31
|
|
|
16
32
|
# asp_plot
|
|
@@ -369,20 +385,12 @@ This project follows [Semantic Versioning](https://semver.org/) which uses a thr
|
|
|
369
385
|
|
|
370
386
|
All notable changes are documented in the [CHANGELOG.md](CHANGELOG.md) file in the repository root. When contributing changes, please add an entry to the CHANGELOG.
|
|
371
387
|
|
|
372
|
-
###
|
|
388
|
+
### Release
|
|
373
389
|
|
|
374
|
-
|
|
390
|
+
To release a new version:
|
|
375
391
|
|
|
376
392
|
1. Update version in `pyproject.toml` following semantic versioning rules
|
|
377
|
-
2. Update
|
|
378
|
-
3.
|
|
393
|
+
2. Update `CHANGELOG.md` with the new version and date
|
|
394
|
+
3. Merge to `main`
|
|
379
395
|
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
```
|
|
383
|
-
rm -rf dist/
|
|
384
|
-
python3 -m pip install --upgrade build
|
|
385
|
-
python3 -m build
|
|
386
|
-
python3 -m pip install --upgrade twine
|
|
387
|
-
python3 -m twine upload dist/*
|
|
388
|
-
```
|
|
396
|
+
The GitHub Actions workflow (`.github/workflows/release.yml`) automatically creates a GitHub Release, tag, and publishes to PyPI. The conda-forge feedstock picks up new PyPI versions automatically.
|
|
@@ -354,20 +354,12 @@ This project follows [Semantic Versioning](https://semver.org/) which uses a thr
|
|
|
354
354
|
|
|
355
355
|
All notable changes are documented in the [CHANGELOG.md](CHANGELOG.md) file in the repository root. When contributing changes, please add an entry to the CHANGELOG.
|
|
356
356
|
|
|
357
|
-
###
|
|
357
|
+
### Release
|
|
358
358
|
|
|
359
|
-
|
|
359
|
+
To release a new version:
|
|
360
360
|
|
|
361
361
|
1. Update version in `pyproject.toml` following semantic versioning rules
|
|
362
|
-
2. Update
|
|
363
|
-
3.
|
|
362
|
+
2. Update `CHANGELOG.md` with the new version and date
|
|
363
|
+
3. Merge to `main`
|
|
364
364
|
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
```
|
|
368
|
-
rm -rf dist/
|
|
369
|
-
python3 -m pip install --upgrade build
|
|
370
|
-
python3 -m build
|
|
371
|
-
python3 -m pip install --upgrade twine
|
|
372
|
-
python3 -m twine upload dist/*
|
|
373
|
-
```
|
|
365
|
+
The GitHub Actions workflow (`.github/workflows/release.yml`) automatically creates a GitHub Release, tag, and publishes to PyPI. The conda-forge feedstock picks up new PyPI versions automatically.
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{% set name = "asp-plot" %}
|
|
2
|
+
{% set version = "1.6.3" %}
|
|
3
|
+
{% set python_min = "3.11" %}
|
|
4
|
+
|
|
5
|
+
package:
|
|
6
|
+
name: {{ name|lower }}
|
|
7
|
+
version: {{ version }}
|
|
8
|
+
|
|
9
|
+
source:
|
|
10
|
+
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/asp_plot-{{ version }}.tar.gz
|
|
11
|
+
sha256: 28f66b0e9dcfbc225ade94cff70464a444b1c0c1f109e2d11cdc0e72cbe648f5
|
|
12
|
+
|
|
13
|
+
build:
|
|
14
|
+
noarch: python
|
|
15
|
+
number: 0
|
|
16
|
+
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
|
|
17
|
+
entry_points:
|
|
18
|
+
- asp_plot = asp_plot.cli.asp_plot:main
|
|
19
|
+
- csm_camera_plot = asp_plot.cli.csm_camera_plot:main
|
|
20
|
+
- stereo_geom = asp_plot.cli.stereo_geom:main
|
|
21
|
+
|
|
22
|
+
requirements:
|
|
23
|
+
host:
|
|
24
|
+
- python {{ python_min }}
|
|
25
|
+
- pip
|
|
26
|
+
- hatchling
|
|
27
|
+
run:
|
|
28
|
+
- python >={{ python_min }}
|
|
29
|
+
- click
|
|
30
|
+
- contextily
|
|
31
|
+
- fpdf2
|
|
32
|
+
- gdal
|
|
33
|
+
- geopandas
|
|
34
|
+
- matplotlib-base
|
|
35
|
+
- matplotlib-scalebar
|
|
36
|
+
- numpy
|
|
37
|
+
- pandas
|
|
38
|
+
- pyproj
|
|
39
|
+
- rasterio
|
|
40
|
+
- rioxarray
|
|
41
|
+
- scipy
|
|
42
|
+
- shapely
|
|
43
|
+
- sliderule
|
|
44
|
+
- xarray
|
|
45
|
+
|
|
46
|
+
test:
|
|
47
|
+
imports:
|
|
48
|
+
- asp_plot
|
|
49
|
+
commands:
|
|
50
|
+
- asp_plot --help
|
|
51
|
+
- csm_camera_plot --help
|
|
52
|
+
- stereo_geom --help
|
|
53
|
+
|
|
54
|
+
about:
|
|
55
|
+
home: https://github.com/uw-cryo/asp_plot
|
|
56
|
+
summary: Package for plotting outputs of Ames Stereo Pipeline processing
|
|
57
|
+
license: BSD-3-Clause
|
|
58
|
+
license_file: LICENSE
|
|
59
|
+
dev_url: https://github.com/uw-cryo/asp_plot
|
|
60
|
+
|
|
61
|
+
extra:
|
|
62
|
+
recipe-maintainers:
|
|
63
|
+
- bpurinton
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "asp_plot"
|
|
7
|
-
version = "1.6.
|
|
7
|
+
version = "1.6.3"
|
|
8
8
|
license = {text = "BSD-3-Clause"}
|
|
9
9
|
authors = [
|
|
10
10
|
{ name="Ben Purinton", email="purinton@uw.edu" },
|
|
@@ -14,6 +14,24 @@ authors = [
|
|
|
14
14
|
description = "Package for plotting outputs Ames Stereo Pipeline processing"
|
|
15
15
|
readme = "README.md"
|
|
16
16
|
requires-python = ">=3.11"
|
|
17
|
+
dependencies = [
|
|
18
|
+
"click",
|
|
19
|
+
"contextily",
|
|
20
|
+
"fpdf2",
|
|
21
|
+
"GDAL",
|
|
22
|
+
"geopandas",
|
|
23
|
+
"matplotlib",
|
|
24
|
+
"matplotlib-scalebar",
|
|
25
|
+
"numpy",
|
|
26
|
+
"pandas",
|
|
27
|
+
"pyproj",
|
|
28
|
+
"rasterio",
|
|
29
|
+
"rioxarray",
|
|
30
|
+
"scipy",
|
|
31
|
+
"shapely",
|
|
32
|
+
"sliderule",
|
|
33
|
+
"xarray",
|
|
34
|
+
]
|
|
17
35
|
classifiers = [
|
|
18
36
|
"Programming Language :: Python :: 3",
|
|
19
37
|
"License :: OSI Approved :: BSD License",
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"permissions": {
|
|
3
|
-
"allow": [
|
|
4
|
-
"WebFetch(domain:stereopipeline.readthedocs.io)",
|
|
5
|
-
"WebSearch",
|
|
6
|
-
"Bash(pytest:*)",
|
|
7
|
-
"Bash(cat:*)",
|
|
8
|
-
"Bash(jq:*)",
|
|
9
|
-
"Bash(python3:*)",
|
|
10
|
-
"Bash(ls:*)",
|
|
11
|
-
"Bash(xargs:*)",
|
|
12
|
-
"Bash(python -m pytest:*)",
|
|
13
|
-
"Bash(conda run -n asp_plot pytest:*)",
|
|
14
|
-
"Bash(/Users/ben/miniforge3/envs/asp_plot/bin/python -m pytest:*)",
|
|
15
|
-
"Bash(/Users/ben/miniforge3/envs/asp_plot/bin/pre-commit run:*)",
|
|
16
|
-
"WebFetch(domain:dg-cms-uploads-production.s3.amazonaws.com)",
|
|
17
|
-
"WebFetch(domain:engineering.purdue.edu)",
|
|
18
|
-
"Bash(gh api:*)",
|
|
19
|
-
"Bash(gh run view:*)",
|
|
20
|
-
"Bash(gh issue view:*)",
|
|
21
|
-
"WebFetch(domain:github.com)",
|
|
22
|
-
"WebFetch(domain:pypi.org)",
|
|
23
|
-
"Bash(find:*)",
|
|
24
|
-
"WebFetch(domain:py-pdf.github.io)",
|
|
25
|
-
"Bash(conda install:*)",
|
|
26
|
-
"Bash(mamba install:*)",
|
|
27
|
-
"Bash(python:*)",
|
|
28
|
-
"Bash(pip install:*)",
|
|
29
|
-
"Bash(pre-commit run:*)"
|
|
30
|
-
],
|
|
31
|
-
"deny": [],
|
|
32
|
-
"ask": []
|
|
33
|
-
}
|
|
34
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|