raulcd commented on code in PR #44989:
URL: https://github.com/apache/arrow/pull/44989#discussion_r1935959769
##########
python/examples/minimal_build/Dockerfile.ubuntu:
##########
@@ -33,7 +33,6 @@ RUN apt-get update -y -q && \
python3-pip \
python3-venv \
tzdata \
+ tzdata-legacy \
&& \
apt-get clean && rm -rf /var/lib/apt/lists*
Review Comment:
with the newer ubuntu version we get into a bunch of errors when trying to
upgrade the system pip:
```
=> ERROR [minimal-ubuntu-venv 3/3] RUN pip install --no-cache-dir -U pip
setuptools
0.5s
------
> [minimal-ubuntu-venv 3/3] RUN pip install --no-cache-dir -U pip
setuptools:
0.390 error: externally-managed-environment
0.390
0.390 × This environment is externally managed
0.390 ╰─> To install Python packages system-wide, try apt install
0.390 python3-xyz, where xyz is the package you are trying to
0.390 install.
0.390
0.390 If you wish to install a non-Debian-packaged Python package,
0.390 create a virtual environment using python3 -m venv path/to/venv.
0.390 Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
0.390 sure you have python3-full installed.
0.390
0.390 If you wish to install a non-Debian packaged Python application,
0.390 it may be easiest to use pipx install xyz, which will manage a
0.390 virtual environment for you. Make sure you have pipx installed.
0.390
0.390 See /usr/share/doc/python3.12/README.venv for more information.
0.390
0.390 note: If you believe this is a mistake, please contact your Python
installation or OS distribution provider. You can override this, at the risk of
breaking your Python installation or OS, by passing --break-system-packages.
0.390 hint: See PEP 668 for the detailed specification.
```
If required, we should update setuptools either on the virtualenv on
`build_venv.sh` or on conda but not here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]