Skip to content

Commit e114ba6

Browse files
authored
Merge pull request #681 from geoadmin/develop-2025-08-27
New Release 2025-08-27-rc1
2 parents 362fc6b + 2b04677 commit e114ba6

File tree

5 files changed

+134
-194
lines changed

5 files changed

+134
-194
lines changed

.pylintrc

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ confidence=
6262
# --disable=W".
6363
disable=missing-docstring,
6464
missing-module-docstring,
65-
bad-continuation, # bad-continuation doesn't comply with yapf, so lets
66-
# yapf correct indentation continuation issue
6765
useless-object-inheritance,
6866
C0103,
6967

@@ -199,13 +197,6 @@ max-line-length=100
199197
# Maximum number of lines in a module.
200198
max-module-lines=1000
201199

202-
# List of optional constructs for which whitespace checking is disabled. `dict-
203-
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
204-
# `trailing-comma` allows a space between comma and closing bracket: (a, ).
205-
# `empty-line` allows space-only lines.
206-
no-space-check=trailing-comma,
207-
dict-separator
208-
209200
# Allow the body of a class to be on the same line as the declaration if body
210201
# contains single statement.
211202
single-line-class-stmt=no
@@ -520,6 +511,5 @@ min-public-methods=2
520511

521512
# Exceptions that will emit a warning when being caught. Defaults to
522513
# "BaseException, Exception".
523-
overgeneral-exceptions=BaseException,
524-
Exception,
525-
StandardError
514+
overgeneral-exceptions=builtins.BaseException,
515+
builtins.Exception,

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.9.9-slim-buster as sphinxsearch_base
1+
FROM python:3.13-slim-bookworm as sphinxsearch_base
22

33
RUN apt-get update && \
44
apt-get install -y \
@@ -35,8 +35,9 @@ RUN groupadd -r geodata -g 2500 && \
3535
chown -R geodata:geodata /var/run/sphinxsearch/ && \
3636
chown -R geodata:geodata /var/log/sphinxsearch/ && \
3737
chown -R geodata:geodata /etc/sphinxsearch && \
38-
# install pip3 psycopg2, python3.9 does not (yet) support python3-psycopg2 package
39-
gosu geodata pip3 install psycopg2-binary==2.9.2
38+
# install psycopg2 via pip, because the apt package (python3-psycopg2) is built for Debian's
39+
# default python3.11, not the python version used in this image (3.13).
40+
gosu geodata pip3 install psycopg2-binary==2.9.10
4041

4142
FROM sphinxsearch_geodata
4243

Pipfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name = "pypi"
55

66
[packages]
77
# added for pylint on scripts/pg2sphinx_trigger.py import-error
8-
psycopg2-binary = "~=2.9.2"
8+
psycopg2-binary = "~=2.9.10"
99

1010
[dev-packages]
1111
six = "*"
@@ -14,4 +14,4 @@ pylint = "*"
1414
shellcheck-py = "*"
1515

1616
[requires]
17-
python_version = "3.9"
17+
python_version = "3.13"

0 commit comments

Comments
 (0)