mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Upgrade to Python 3.11
Summary: Replaced mentions of Python 3.9 with 3.11 Test Plan: this Reviewers: paulfitz, georgegevoian Reviewed By: paulfitz, georgegevoian Subscribers: dsagal, georgegevoian, paulfitz Differential Revision: https://phab.getgrist.com/D3980
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM python:3.9
|
||||
FROM python:3.11
|
||||
|
||||
COPY requirements3.txt /tmp/requirements3.txt
|
||||
|
||||
|
||||
@@ -173,9 +173,9 @@ if not include_python2:
|
||||
# We expect python3 in /usr/bin or /usr/local/bin.
|
||||
candidates = [
|
||||
path
|
||||
# Pick the most generic python if not matching python3.9.
|
||||
# Pick the most generic python if not matching python3.11.
|
||||
# Sorry this is delicate because of restores, mounts, symlinks.
|
||||
for pattern in ['python3.9', 'python3', 'python3*']
|
||||
for pattern in ['python3.11', 'python3.10', 'python3.9', 'python3', 'python3*']
|
||||
for root in ['/usr/local', '/usr']
|
||||
for path in glob.glob(f'{root}/bin/{pattern}')
|
||||
if os.path.exists(path)
|
||||
|
||||
@@ -12,3 +12,4 @@ python-dateutil
|
||||
six
|
||||
sortedcontainers
|
||||
unittest-xml-reporting
|
||||
typing-extensions # used by astroid before Python 3.11
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# This file is autogenerated by pip-compile with Python 3.9
|
||||
# This file is autogenerated by pip-compile with Python 3.11
|
||||
# by the following command:
|
||||
#
|
||||
# pip-compile --output-file=core/sandbox/requirements3.txt core/sandbox/requirements3.in
|
||||
@@ -48,7 +48,7 @@ sortedcontainers==2.4.0
|
||||
stack-data==0.5.1
|
||||
# via friendly-traceback
|
||||
typing-extensions==4.4.0
|
||||
# via astroid
|
||||
# via -r core/sandbox/requirements3.in
|
||||
unittest-xml-reporting==2.0.0
|
||||
# via -r core/sandbox/requirements3.in
|
||||
wrapt==1.15.0
|
||||
|
||||
Reference in New Issue
Block a user