Merge pull request #1534 from umap-project/dependabot/pip/django-5.0.1

chore: bump django from 4.2 to 5.0.1
This commit is contained in:
David Larlet 2024-01-30 14:05:09 -05:00 committed by GitHub
commit 8336dd2b78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 16 additions and 19 deletions

View file

@ -24,7 +24,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
python-version: ['3.8', '3.12'] python-version: ['3.10', '3.12']
database: [postgresql] database: [postgresql]
steps: steps:

View file

@ -2,10 +2,9 @@ os: linux
language: python language: python
dist: focal dist: focal
python: python:
- "3.6" - '3.10'
- "3.7" - '3.11'
- "3.8" - '3.12'
- "3.9"
services: services:
- postgresql - postgresql
addons: addons:
@ -23,7 +22,7 @@ script: make test
notifications: notifications:
irc: irc:
channels: channels:
- "irc.libera.chat#umap" - 'irc.libera.chat#umap'
on_success: change on_success: change
on_failure: always on_failure: always
email: false email: false

View file

@ -16,15 +16,15 @@ develop: ## Install the test and dev dependencies
format: ## Format the code and templates files format: ## Format the code and templates files
djlint umap/templates --reformat &&\ djlint umap/templates --reformat &&\
isort --profile black . &&\ isort --profile black . &&\
ruff format --target-version=py38 . ruff format --target-version=py310 .
.PHONY: lint .PHONY: lint
lint: ## Lint the code and template files lint: ## Lint the code and template files
npx eslint umap/static/umap/ &&\ npx eslint umap/static/umap/ &&\
djlint umap/templates --lint &&\ djlint umap/templates --lint &&\
isort --check --profile black umap/ &&\ isort --check --profile black umap/ &&\
ruff format --check --target-version=py38 umap/ &&\ ruff format --check --target-version=py310 umap/ &&\
vermin --no-tips --violations -t=3.8- umap/ vermin --no-tips --violations -t=3.10- umap/
docs: ## Compile the docs docs: ## Compile the docs
mkdocs build mkdocs build

View file

@ -15,7 +15,7 @@ maintainers = [
] ]
homepage = "https://github.com/umap-project/umap" homepage = "https://github.com/umap-project/umap"
keywords = ["django", "leaflet", "geodjango", "openstreetmap", "map"] keywords = ["django", "leaflet", "geodjango", "openstreetmap", "map"]
requires-python = ">=3.8" requires-python = ">=3.10"
classifiers = [ classifiers = [
"Development Status :: 4 - Beta", "Development Status :: 4 - Beta",
"Intended Audience :: Developers", "Intended Audience :: Developers",
@ -23,14 +23,12 @@ classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python", "Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.12",
] ]
dependencies = [ dependencies = [
"Django==4.2", "Django==5.0.1",
"django-agnocomplete==2.2.0", "django-agnocomplete==2.2.0",
"django-environ==0.10.0", "django-environ==0.10.0",
"django-probes==1.7.0", "django-probes==1.7.0",