Skip to content

Commit

Permalink
simplify a lot
Browse files Browse the repository at this point in the history
  • Loading branch information
bpurinton committed Jan 16, 2025
1 parent ded796a commit 314d1cf
Show file tree
Hide file tree
Showing 2 changed files with 228 additions and 27 deletions.
34 changes: 7 additions & 27 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,43 +11,23 @@ on:

permissions:
contents: read
pull-requests: write

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install Micromamba
run: |
curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
./bin/micromamba shell init --shell bash --root-prefix ~/micromamba
mkdir -p ~/micromamba/envs
- name: Create and activate environment
shell: bash -l {0}
run: |
export MAMBA_ROOT_PREFIX=~/micromamba
export PATH=$PATH:~/micromamba/bin
./bin/micromamba create -n asp_plot -f environment.yml
./bin/micromamba activate asp_plot
python-version: "3.10"
- name: Install dependencies
shell: bash -l {0}
run: |
export MAMBA_ROOT_PREFIX=~/micromamba
export PATH=$PATH:~/micromamba/bin
./bin/micromamba activate asp_plot
pip install .
python -m pip install --upgrade pip
pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Test with pytest
shell: bash -l {0}
run: |
export MAMBA_ROOT_PREFIX=~/micromamba
export PATH=$PATH:~/micromamba/bin
./bin/micromamba activate asp_plot
pytest
221 changes: 221 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,221 @@
affine==2.4.0
anyio==4.4.0
appnope==0.1.4
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asp_plot==0.5.5
asttokens==2.4.1
async-lru==2.0.4
attrs==23.2.0
Babel==2.14.0
beautifulsoup4==4.12.3
black==24.10.0
bleach==6.1.0
branca==0.7.2
Brotli==1.1.0
build==1.2.2.post1
cached-property==1.5.2
certifi==2024.12.14
cffi==1.16.0
cfgv==3.3.1
charset-normalizer==3.3.2
click==8.1.8
click-plugins==1.1.1
cligj==0.7.2
colorama==0.4.6
comm==0.2.2
contextily==1.6.2
contourpy==1.2.1
cycler==0.12.1
debugpy==1.8.1
decorator==5.1.1
defusedxml==0.7.1
dgtools==0.1.0
distlib==0.3.8
docutils==0.21.2
entrypoints==0.4
exceptiongroup==1.2.0
executing==2.0.1
fastjsonschema==2.20.0
filelock==3.15.4
fiona==1.10.1
flake8==7.1.1
folium==0.16.0
fonttools==4.51.0
fqdn==1.5.1
GDAL==3.9.2
geographiclib==2.0
geopandas==1.0.1
geopy==2.4.1
geoutils==0.1.1
h11==0.14.0
h2==4.1.0
hpack==4.0.0
httpcore==1.0.5
httpx==0.27.0
hyperframe==6.0.1
identify==2.6.0
idna==3.7
imagecodecs==2024.6.1
imageio==2.34.2
importlib_metadata==7.1.0
importlib_resources==6.4.4
iniconfig==2.0.0
ipykernel==6.29.3
ipympl==0.9.4
ipython==8.22.2
ipython_genutils==0.2.0
ipywidgets==8.1.5
isoduration==20.11.0
jaraco.classes==3.4.0
jaraco.context==5.3.0
jaraco.functools==4.0.1
jedi==0.19.1
Jinja2==3.1.4
joblib==1.4.2
json5==0.9.25
jsonpointer==3.0.0
jsonschema==4.23.0
jsonschema-specifications==2023.12.1
jupyter_client==8.6.1
jupyter_core==5.7.2
jupyter-events==0.10.0
jupyter-lsp==2.2.5
jupyter_server==2.14.2
jupyter_server_terminals==0.5.3
jupyterlab==4.2.4
jupyterlab_pygments==0.3.0
jupyterlab_server==2.27.3
jupyterlab_widgets==3.0.13
keyring==25.2.1
kiwisolver==1.4.5
lazy_loader==0.4
llvmlite==0.43.0
lxml==5.2.2
mapclassify==2.6.1
markdown-it-py==3.0.0
markdown-pdf==1.3.3
MarkupSafe==2.1.5
matplotlib==3.9.2
matplotlib-inline==0.1.7
matplotlib-scalebar==0.8.1
mccabe==0.7.0
mdurl==0.1.2
mercantile==1.2.1
mistune==3.0.2
more-itertools==10.2.0
munkres==1.1.4
mypy-extensions==1.0.0
nbclient==0.10.0
nbconvert==7.16.4
nbformat==5.10.4
nest_asyncio==1.6.0
networkx==3.3
nh3==0.2.17
nodeenv==1.9.1
notebook==7.2.1
notebook_shim==0.2.4
numba==0.60.0
numpy==2.0.2
opencv-python==4.10.0
opencv-python-headless==4.10.0
overrides==7.7.0
packaging==24.0
pandas==2.2.3
pandocfilters==1.5.0
parso==0.8.4
pathspec==0.12.1
pexpect==4.9.0
pickleshare==0.7.5
pillow==10.3.0
pip==24.3.1
pkginfo==1.10.0
pkgutil_resolve_name==1.3.10
platformdirs==4.2.1
pluggy==1.5.0
pre_commit==3.8.0
prometheus_client==0.20.0
prompt-toolkit==3.0.42
psutil==5.9.8
ptyprocess==0.7.0
pure-eval==0.2.2
pyarrow==17.0.0
pycodestyle==2.12.0
pycparser==2.22
pyflakes==3.2.0
pygeotools==1.1.1
Pygments==2.18.0
PyMuPDF==1.24.6
PyMuPDFb==1.24.6
pyobjc-core==10.3.1
pyobjc-framework-Cocoa==10.3.1
pyogrio==0.9.0
pypandoc==1.13
pyparsing==3.1.2
pypdf==4.2.0
PyPDF2==2.11.1
pyproj==3.6.1
pyproject_hooks==1.1.0
PySocks==1.7.1
pytest==8.3.4
python-dateutil==2.9.0
python-json-logger==2.0.7
pytransform3d==3.5.0
pytz==2024.1
PyWavelets==1.6.0
PyYAML==6.0.1
pyzmq==26.0.3
rasterio==1.3.11
readme_renderer==43.0
referencing==0.35.1
requests==2.31.0
requests-toolbelt==1.0.0
rfc3339-validator==0.1.4
rfc3986==2.0.0
rfc3986-validator==0.1.1
rich==13.7.1
rioxarray==0.15.7
rpds-py==0.20.0
Rtree==1.2.0
scikit-gstat==1.0.17
scikit-image==0.24.0
scikit-learn==1.5.1
scipy==1.13.0
Send2Trash==1.8.3
setuptools==69.5.1
setuptools-scm==8.1.0
shapely==2.0.5
six==1.16.0
sliderule==4.7.1
sniffio==1.3.1
snuggs==1.4.7
soupsieve==2.5
stack-data==0.6.2
terminado==0.18.1
threadpoolctl==3.5.0
tifffile==2024.7.2
tinycss2==1.3.0
tomli==2.0.1
tornado==6.4
tqdm==4.66.4
traitlets==5.14.3
twine==5.1.1
types-python-dateutil==2.9.0.20240821
typing_extensions==4.11.0
typing-utils==0.1.0
tzdata==2024.1
ukkonen==1.0.1
uri-template==1.3.0
urllib3==2.2.1
virtualenv==20.26.3
wcwidth==0.2.13
webcolors==24.8.0
webencodings==0.5.1
websocket-client==1.8.0
wheel==0.43.0
widgetsnbextension==4.0.13
xarray==2024.6.0
xdem==0.0.7
xyzservices==2024.4.0
zipp==3.17.0

0 comments on commit 314d1cf

Please sign in to comment.