Skip to content
Snippets Groups Projects
Commit 019dc802 authored by Georges Racinet's avatar Georges Racinet
Browse files

Dropping Python 3.7 compatibility

(including a change that wouldn't work on 3.7)

We recently upgraded the CI images to Debian 11 (Python 3.9).
Binary packages for Heptapod (Docker images notably) have been
shipping Python 3.8 for a very long time, and were upgraded
to 3.9 with Heptapod 0.26
parent 82ef4a96
No related branches found
No related tags found
1 merge request!90Dropping Python 3.7 compatibility
Pipeline #29430 passed
......@@ -20,4 +20,5 @@
packages=find_packages(),
package_data=dict(hgitaly=[VERSION_FILE]),
install_requires=install_req,
python_requires='>=3.8',
)
......@@ -76,10 +76,8 @@
env['GITALY_TESTING_NO_GIT_HOOKS'] = "1"
timeout = int(env.pop('GITALY_STARTUP_TIMEOUT', '30').strip())
# Note: Python 3.8 does not need the conversions to str, but it's
# handy to support Python 3.7 (Debian buster in CI)
gitaly = subprocess.Popen([str(GITALY_INSTALL_DIR / 'gitaly'),
str(self.gitaly_conf)],
gitaly = subprocess.Popen([GITALY_INSTALL_DIR / 'gitaly',
self.gitaly_conf],
env=env)
with grpc.insecure_channel('unix:' + str(self.gitaly_socket),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment