py 3.13 and path issues

#2
by arthrod - opened

--> RUN useradd -m -u 1000 user
DONE 0.0s

--> RUN mkdir /home/user/puppy
DONE 0.0s

--> WORKDIR /home/user/puppy
DONE 0.0s

--> RUN curl -fsSL https://raw.githubusercontent.com/liquidcarbon/puppy/main/pup.sh | bash -s 3.12
main: line 35: pixi: command not found
This script will automatically download and install Pixi (latest) for you.
Getting it from this url: https://github.com/prefix-dev/pixi/releases/latest/download/pixi-x86_64-unknown-linux-musl.tar.gz
#=#=#

######################################################################## 100.0%
The 'pixi' binary is installed into '/home/user/.pixi/bin'
Could not update shell: sh
Please permanently add '/home/user/.pixi/bin' to your $PATH to enable the 'pixi' command.
โœจ pixi 0.33.0 installed
Created /home/user/puppy/pixi.toml
Added python >=3.13.0,<4
Added uv>=0
๐ŸŸฃ uv 0.4.22
Added click>=8
Python 3.13.0 | packaged by conda-forge | (main, Oct 8 2024, 20:04:32) [GCC 13.3.0]
[2024-10-17 14:34:20] ๐Ÿถ has arrived to /home/user/puppy
[2024-10-17 14:34:20] ๐Ÿถ = /home/user/puppy/.pixi/envs/default/bin/python /home/user/puppy/pup.py
[2024-10-17 14:34:20] ๐Ÿ  = /home/user/puppy
[2024-10-17 14:34:20] ๐Ÿ = 3.13.0 | packaged by conda-forge | (main, Oct 8 2024, 20:04:32) [GCC 13.3.0]
[2024-10-17 14:34:20] ๐Ÿถ heard: pup hi
[2024-10-17 14:34:20] ๐Ÿถ said: woof! Nice to meet you. Check woof.log for pup command history
DONE 8.1s

--> RUN echo '#!/bin/bash\n/home/user/puppy/pup.py "$@"' > /home/user/.pixi/bin/pup && chmod +x /home/user/.pixi/bin/pup
DONE 0.1s

--> RUN pup
/home/user/puppy/pup.py: line 3: doc: command not found
/home/user/puppy/pup.py: line 7: version: command not found
/home/user/puppy/pup.py: line 9: import: command not found
/home/user/puppy/pup.py: line 10: import: command not found
/home/user/puppy/pup.py: line 11: import: command not found
/home/user/puppy/pup.py: line 12: import: command not found
/home/user/puppy/pup.py: line 13: import: command not found
/home/user/puppy/pup.py: line 14: import: command not found
/home/user/puppy/pup.py: line 15: from: command not found
/home/user/puppy/pup.py: line 16: from: command not found
/home/user/puppy/pup.py: line 17: from: command not found
/home/user/puppy/pup.py: line 19: import: command not found
/home/user/puppy/pup.py: line 22: syntax error near unexpected token (' /home/user/puppy/pup.py: line 22: class PupException(Exception):'

--> ERROR: process "/bin/sh -c pup" did not complete successfully: exit code: 2

Thanks for checking it out! I've changed a number of things in puppy last week, will be updating this soon.
Also, 3.13 is not yet supported by marimo. Were you able to run in on 3.13?

Cannot merge
This branch has merge conflicts in the following files:
  • Dockerfile

Sign up or log in to comment