Skip to content

Commit

Permalink
Remove requests dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Kuethe committed Jan 21, 2024
1 parent e394196 commit c08545a
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 5 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Python package

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install Poetry and pytest
run: pip install poetry pytest
- name: Install package
run: poetry install
- name: Test package
run: |
poetry run pytest
poetry run pytest --doctest-modules maplibre
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ include = [
python = ">=3.9,<4"
shiny = "^0.6.1"
htmltools = "^0.5.1"
requests = "^2.31.0"
jinja2 = "^3.1.3"
pydantic = "^2.5.3"
anywidget = "^0.8.1"
Expand Down

0 comments on commit c08545a

Please sign in to comment.