Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/builder_releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
# Globals
env:
PROJECT_FOLDER: "dicogis"
PYTHON_VERSION: "3.10"
PYTHON_VERSION: "3.11"
PYINSTALLER_LOG_LEVEL: "DEBUG"
USE_PATH_FOR_GDAL_PYTHON: yes

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs_builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ concurrency:

env:
GDAL_VERSION: 3.*
PYTHON_VERSION: "3.10"
PYTHON_VERSION: "3.11"

jobs:
build-docs:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/tester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
Expand Down Expand Up @@ -141,7 +140,6 @@ jobs:
strategy:
fail-fast: false
matrix:
# no cp310 wheel published in the pinned geospatial-wheels release
python-version:
- "3.11"
- "3.12"
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ repos:
hooks:
- id: pyupgrade
args:
- --py310-plus
- --py311-plus

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.16.10"
Expand Down
2 changes: 1 addition & 1 deletion docs/development/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Tested on:
## Requirements

- GDAL >= 3.4.1
- Python >= 3.10
- Python >= 3.11
- Network access to:
- Python Package Index: <https://pypi.org/>

Expand Down
6 changes: 3 additions & 3 deletions docs/development/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

### Requirements

- Python 3.10+ installed with the Windows MSI installer (version from the Windows store is not working)
- Python 3.11+ installed with the Windows MSI installer (version from the Windows store is not working)

### Download GDAL wheel

> Only needed to install GDAL from a wheel you picked yourself, instead of
> letting pip pull one from the package index used in "Install project" below.

1. Go to <https://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal> or to <https://github.com/cgohlke/geospatial-wheels/releases/latest>
1. Download the appropriate package for the Python environment (version, type...). For example: `GDAL-3.8.4-cp310-cp310-win_amd64`
1. Download the appropriate package for the Python environment (version, type...). For example: `gdal-3.11.1-cp311-cp311-win_amd64`
1. Move downloaded wheel to the `lib` subfolder
1. Make sure there is only one wheel of GDAL in the `lib` subfolder

Expand All @@ -40,7 +40,7 @@ Typically, you can run these commands:

```powershell
# create a virtual env - change with your Python version
py -3.10 -m venv .venv
py -3.11 -m venv .venv

# enable virtual env
.\.venv\Scripts\activate
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dynamic = ["version"]
description = "Create Excel spreadsheet describing geographical data from a PostGIS Database or a file tree structure."
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.10, <4"
requires-python = ">=3.11, <4"
authors = [{ name = "Julien Moura", email = "dev@ingeoveritas.com" }]
keywords = ["GDAL", "GIS", "INSPIRE", "OGR", "data management", "metadata"]
classifiers = [
Expand All @@ -21,7 +21,6 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
Expand Down Expand Up @@ -117,7 +116,7 @@ testpaths = ["tests"]

[tool.ruff]
line-length = 88
target-version = "py310"
target-version = "py311"
exclude = [".git", "__pycache__", "old", "build", "dist", "tests/dev", ".venv*"]

[tool.ruff.format]
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sonar.projectKey=Guts_DicoGIS
# only=main

# Python versions
sonar.python.version=3.10, 3.11, 3.12, 3.13,3.14
sonar.python.version=3.11, 3.12, 3.13, 3.14

# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
sonar.sources=dicogis
Expand Down
Loading