The system has Python 3.13 installed, but this project currently requires Python 3.10 or 3.11 due to a dependency constraint.
The hammocking package (version >=0.8,<0.10) requires Python < 3.12, which blocks support for Python 3.12 and 3.13.
Ubuntu/Debian:
sudo apt update
sudo apt install python3.11 python3.11-venv python3.11-devUsing pyenv (cross-platform):
# Install pyenv if not already installed
curl https://pyenv.run | bash
# Install Python 3.11
pyenv install 3.11.9
pyenv local 3.11.9
# Then run the installation
./install.shThe hammocking dependency needs to be updated or replaced:
-
Check if newer version exists:
pip index versions hammocking
-
Consider alternatives:
- Remove the
hammockingdependency if not critical - Fork and update
hammockingto support Python 3.12+ - Use a different package
- Remove the
-
Update pyproject.toml:
[tool.poetry.dependencies] python = ">=3.10,<3.14" # Remove or update hammocking constraint # hammocking = ">=0.8,<0.10" # This is the blocker
Create a Dockerfile with Python 3.11:
FROM python:3.11-slim
WORKDIR /workspace
RUN apt-get update && apt-get install -y \
curl \
git \
make \
&& rm -rf /var/lib/apt/lists/*
COPY . .
RUN ./install.sh
CMD ["/bin/bash"]Build and run:
docker build -t spl-core .
docker run -it --rm -v $(pwd):/workspace spl-coreCurrent system:
python3 --version
# Python 3.13.7Required:
- Python 3.10 or 3.11
If you need to use Python 3.13 immediately, you could try:
- Remove the
hammockingdependency frompyproject.tomltemporarily - Run
poetry lock - See if the project works without it
Warning: This may break functionality that depends on hammocking.
The project maintainers should:
- Investigate if
hammockingis still needed - Update to a compatible version or find an alternative
- Test with Python 3.12 and 3.13
- Update the supported Python versions
After installing Python 3.11, verify:
python3.11 --version # Should show 3.11.x
./install.sh # Should now work
make test # Verify everything works