Skip to content

Commit

Permalink
Update macos uv
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Sep 22, 2024
1 parent 84c813d commit 5dc9e18
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,19 @@ jobs:
env:
SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
steps:
- name: CHECKOUT CODE
uses: actions/checkout@v4
- name: SETUP PYTHON
uses: actions/setup-python@v5
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v2
with:
python-version: ${{ matrix.config.py }}
- name: Install package
run: pip install .
version: "0.4.12"
enable-cache: true

- name: Set up Python ${{ matrix.config.py }}
run: uv python install ${{ matrix.config.py }}

- name: Install dependencies
run: uv sync --python ${{ matrix.config.py }}

- name: Test import
run: python -c "import leafmap; print('leafmap import successful')"
run: uv run python -c "import leafmap; print('leafmap import successful')"
4 changes: 2 additions & 2 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ panel
plotly
pmtiles
pre-commit
psycopg2
# psycopg2
pycrs
pydeck
pyntcloud[LAS]
Expand All @@ -40,6 +40,6 @@ rasterio
rasterstats
rio-cogeo
rioxarray
sqlalchemy
# sqlalchemy
# streamlit-folium
# tippecanoe

0 comments on commit 5dc9e18

Please sign in to comment.