diff --git a/.github/workflows/test-docs.yml b/.github/workflows/test-docs.yml index 52c275dc..4ed13aba 100644 --- a/.github/workflows/test-docs.yml +++ b/.github/workflows/test-docs.yml @@ -24,7 +24,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.8', '3.12'] + python-version: ['3.10', '3.12'] database: [postgresql] steps: diff --git a/.travis.yml b/.travis.yml index c8edc1a4..0f904422 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,31 +2,30 @@ os: linux language: python dist: focal python: -- "3.6" -- "3.7" -- "3.8" -- "3.9" + - '3.10' + - '3.11' + - '3.12' services: - postgresql addons: apt: packages: - - libgdal-dev - - postgresql-12-postgis-3 + - libgdal-dev + - postgresql-12-postgis-3 env: global: - - PGPORT=5432 - - UMAP_SETTINGS=umap/tests/settings.py + - PGPORT=5432 + - UMAP_SETTINGS=umap/tests/settings.py install: -- make develop + - make develop script: make test notifications: irc: channels: - - "irc.libera.chat#umap" + - 'irc.libera.chat#umap' on_success: change on_failure: always email: false branches: only: - - master + - master diff --git a/Makefile b/Makefile index c09c21f0..82fce513 100644 --- a/Makefile +++ b/Makefile @@ -16,15 +16,15 @@ develop: ## Install the test and dev dependencies format: ## Format the code and templates files djlint umap/templates --reformat &&\ isort --profile black . &&\ - ruff format --target-version=py38 . + ruff format --target-version=py310 . .PHONY: lint lint: ## Lint the code and template files npx eslint umap/static/umap/ &&\ djlint umap/templates --lint &&\ isort --check --profile black umap/ &&\ - ruff format --check --target-version=py38 umap/ &&\ - vermin --no-tips --violations -t=3.8- umap/ + ruff format --check --target-version=py310 umap/ &&\ + vermin --no-tips --violations -t=3.10- umap/ docs: ## Compile the docs mkdocs build diff --git a/pyproject.toml b/pyproject.toml index 7e2406df..d4585829 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ maintainers = [ ] homepage = "https://github.com/umap-project/umap" keywords = ["django", "leaflet", "geodjango", "openstreetmap", "map"] -requires-python = ">=3.8" +requires-python = ">=3.10" classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", @@ -23,14 +23,12 @@ classifiers = [ "Topic :: Software Development :: Libraries :: Python Modules", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ] dependencies = [ - "Django==4.2", + "Django==5.0.1", "django-agnocomplete==2.2.0", "django-environ==0.10.0", "django-probes==1.7.0",