-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from mvexel/0.4
0.4
- Loading branch information
Showing
19 changed files
with
379 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | ||
|
||
name: build and test | ||
|
||
on: | ||
push: | ||
branches: ["main"] | ||
pull_request: | ||
branches: ["main"] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.8", "3.9", "3.10", "3.11"] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Python+PDM | ||
uses: pdm-project/[email protected] | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
pdm sync -d -G test | ||
- name: test | ||
run: | | ||
pdm run -v pytest tests |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ | |
.venv/ | ||
build/ | ||
dist/ | ||
.pdm-python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,33 @@ | ||
[build-system] | ||
requires = ["setuptools >= 61.0"] | ||
build-backend = "setuptools.build_meta" | ||
requires = ["pdm-backend"] | ||
build-backend = "pdm.backend" | ||
|
||
[project] | ||
name = "osmdiff" | ||
dynamic = ["version"] | ||
authors = [{ name = "Martijn van Exel", email = "[email protected]" }] | ||
maintainers = [{ name = "Martijn van Exel", email = "[email protected]" }] | ||
description = "A read-only API to OpenStreetMap diffs" | ||
description = "A read-only interface to OpenStreetMap change APIs and files" | ||
keywords = ["openstreetmap", "osm", "diff", "changeset", "api"] | ||
readme = "README.md" | ||
requires-python = ">=3.7" | ||
requires-python = ">=3.8" | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
] | ||
dependencies = ["python-dateutil==2.9.0.post0", "requests==2.28.1"] | ||
license = { text = "MIT" } | ||
|
||
[tool.pdm.dev-dependencies] | ||
test = ["pytest>=8.2.1", "typing-extensions>=4.12.0"] | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/mvexel/osmdiff" | ||
"Bug Tracker" = "https://github.com/mvexel/osmdiff/issues" | ||
|
||
[project.optional-dependencies] | ||
dev = ["pytest==7.1.3", "pytest-cov==5.0.0"] | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "osmdiff.__version__"} | ||
[tool.pytest.ini_options] | ||
markers = ["integration: mark a test as an integration test"] | ||
[tool.pdm] | ||
distribution = true | ||
version = { source = "file", path = "src/osmdiff/__init__.py" } |
Oops, something went wrong.