asp-plot 1.6.0__tar.gz → 1.6.2__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.
Files changed (29) hide show
  1. {asp_plot-1.6.0 → asp_plot-1.6.2}/.github/workflows/release.yml +29 -5
  2. {asp_plot-1.6.0 → asp_plot-1.6.2}/.pre-commit-config.yaml +1 -1
  3. {asp_plot-1.6.0 → asp_plot-1.6.2}/CHANGELOG.md +11 -0
  4. {asp_plot-1.6.0 → asp_plot-1.6.2}/PKG-INFO +14 -1
  5. asp_plot-1.6.2/conda-forge-recipe/meta.yaml +59 -0
  6. {asp_plot-1.6.0 → asp_plot-1.6.2}/environment.yml +4 -0
  7. {asp_plot-1.6.0 → asp_plot-1.6.2}/pyproject.toml +16 -1
  8. asp_plot-1.6.0/.claude/settings.local.json +0 -34
  9. {asp_plot-1.6.0 → asp_plot-1.6.2}/.flake8 +0 -0
  10. {asp_plot-1.6.0 → asp_plot-1.6.2}/.github/workflows/run-tests.yml +0 -0
  11. {asp_plot-1.6.0 → asp_plot-1.6.2}/.gitignore +0 -0
  12. {asp_plot-1.6.0 → asp_plot-1.6.2}/LICENSE +0 -0
  13. {asp_plot-1.6.0 → asp_plot-1.6.2}/README.md +0 -0
  14. {asp_plot-1.6.0 → asp_plot-1.6.2}/asp_plot/__init__.py +0 -0
  15. {asp_plot-1.6.0 → asp_plot-1.6.2}/asp_plot/alignment.py +0 -0
  16. {asp_plot-1.6.0 → asp_plot-1.6.2}/asp_plot/altimetry.py +0 -0
  17. {asp_plot-1.6.0 → asp_plot-1.6.2}/asp_plot/bundle_adjust.py +0 -0
  18. {asp_plot-1.6.0 → asp_plot-1.6.2}/asp_plot/cli/__init__.py +0 -0
  19. {asp_plot-1.6.0 → asp_plot-1.6.2}/asp_plot/cli/asp_plot.py +0 -0
  20. {asp_plot-1.6.0 → asp_plot-1.6.2}/asp_plot/cli/csm_camera_plot.py +0 -0
  21. {asp_plot-1.6.0 → asp_plot-1.6.2}/asp_plot/cli/stereo_geom.py +0 -0
  22. {asp_plot-1.6.0 → asp_plot-1.6.2}/asp_plot/csm_camera.py +0 -0
  23. {asp_plot-1.6.0 → asp_plot-1.6.2}/asp_plot/processing_parameters.py +0 -0
  24. {asp_plot-1.6.0 → asp_plot-1.6.2}/asp_plot/report.py +0 -0
  25. {asp_plot-1.6.0 → asp_plot-1.6.2}/asp_plot/scenes.py +0 -0
  26. {asp_plot-1.6.0 → asp_plot-1.6.2}/asp_plot/stereo.py +0 -0
  27. {asp_plot-1.6.0 → asp_plot-1.6.2}/asp_plot/stereo_geometry.py +0 -0
  28. {asp_plot-1.6.0 → asp_plot-1.6.2}/asp_plot/stereopair_metadata_parser.py +0 -0
  29. {asp_plot-1.6.0 → asp_plot-1.6.2}/asp_plot/utils.py +0 -0
@@ -1,4 +1,4 @@
1
- name: Create Release
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: actions/create-release@v1
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
- release_name: v${{ steps.version.outputs.version }}
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,17 @@ 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.2] - 2026-02-16
9
+
10
+ ### Added
11
+ - Automated PyPI publishing via OIDC trusted publishing on GitHub Release
12
+ - conda-forge reference recipe for staged-recipes submission
13
+ - Runtime dependencies declared in `pyproject.toml` (`pip install asp-plot` now installs all deps)
14
+
15
+ ### Changed
16
+ - Replaced deprecated `actions/create-release@v1` with `softprops/action-gh-release@v2` in release workflow
17
+ - Added missing dependencies to `environment.yml`: `pyproj`, `scipy`, `shapely`, `xarray`
18
+
8
19
  ## [1.6.0] - 2026-02-16
9
20
 
10
21
  ### Added
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: asp_plot
3
- Version: 1.6.0
3
+ Version: 1.6.2
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,19 @@ 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: matplotlib
19
+ Requires-Dist: numpy
20
+ Requires-Dist: pandas
21
+ Requires-Dist: pyproj
22
+ Requires-Dist: rasterio
23
+ Requires-Dist: rioxarray
24
+ Requires-Dist: scipy
25
+ Requires-Dist: shapely
26
+ Requires-Dist: xarray
14
27
  Description-Content-Type: text/markdown
15
28
 
16
29
  # asp_plot
@@ -0,0 +1,59 @@
1
+ {% set name = "asp-plot" %}
2
+ {% set version = "1.6.2" %}
3
+
4
+ package:
5
+ name: {{ name|lower }}
6
+ version: {{ version }}
7
+
8
+ source:
9
+ url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/asp_plot-{{ version }}.tar.gz
10
+ sha256: REPLACE_WITH_ACTUAL_SHA256
11
+
12
+ build:
13
+ noarch: python
14
+ number: 0
15
+ script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
16
+ entry_points:
17
+ - asp_plot = asp_plot.cli.asp_plot:main
18
+ - csm_camera_plot = asp_plot.cli.csm_camera_plot:main
19
+ - stereo_geom = asp_plot.cli.stereo_geom:main
20
+
21
+ requirements:
22
+ host:
23
+ - python >=3.11
24
+ - pip
25
+ - hatchling
26
+ run:
27
+ - python >=3.11
28
+ - click
29
+ - contextily
30
+ - fpdf2
31
+ - gdal
32
+ - matplotlib-base
33
+ - numpy
34
+ - pandas
35
+ - pyproj
36
+ - rasterio
37
+ - rioxarray
38
+ - scipy
39
+ - shapely
40
+ - xarray
41
+
42
+ test:
43
+ imports:
44
+ - asp_plot
45
+ commands:
46
+ - asp_plot --help
47
+ - csm_camera_plot --help
48
+ - stereo_geom --help
49
+
50
+ about:
51
+ home: https://github.com/uw-cryo/asp_plot
52
+ summary: Package for plotting outputs of Ames Stereo Pipeline processing
53
+ license: BSD-3-Clause
54
+ license_file: LICENSE
55
+ dev_url: https://github.com/uw-cryo/asp_plot
56
+
57
+ extra:
58
+ recipe-maintainers:
59
+ - bpurinton
@@ -16,6 +16,10 @@ dependencies:
16
16
  - gdal
17
17
  - geopandas
18
18
  - contextily
19
+ - pyproj
20
+ - scipy
21
+ - shapely
22
+ - xarray
19
23
  - matplotlib-scalebar
20
24
  - click
21
25
  - sliderule
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "asp_plot"
7
- version = "1.6.0"
7
+ version = "1.6.2"
8
8
  license = {text = "BSD-3-Clause"}
9
9
  authors = [
10
10
  { name="Ben Purinton", email="purinton@uw.edu" },
@@ -14,6 +14,21 @@ 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
+ "matplotlib",
23
+ "numpy",
24
+ "pandas",
25
+ "pyproj",
26
+ "rasterio",
27
+ "rioxarray",
28
+ "scipy",
29
+ "shapely",
30
+ "xarray",
31
+ ]
17
32
  classifiers = [
18
33
  "Programming Language :: Python :: 3",
19
34
  "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