xonsh / container

xonsh on docker
https://hub.docker.com/u/xonsh
MIT License
7 stars 1 forks source link

Update docker hub containers #3

Open anki-code opened 3 years ago

anki-code commented 3 years ago

Hi @AstraLuma !

I've noticed that the xonsh version in the container is old:

docker run -it --rm xonsh/xonsh xonsh --version
# xonsh/0.9.24

We have 0.9.27 at this time and we'll have great new version in the near future.

What we should do to update container to the 0.9.27 and to the future version?

Thanks for the docker containers!

AstraLuma commented 3 years ago

It should be rebuilding daily

anki-code commented 3 years ago

By the Actions the last action was ran 5 months ago.

Could you please bump the update? It will be cool to have the references in the README of how to do this.

anki-code commented 3 years ago

@AstraLuma oh, here it is:

Cirrus CI Poke / poke.yml
This scheduled workflow is disabled because 
there hasn't been activity in this repository for at least 60 days. 
AstraLuma commented 3 years ago

Rude!

Maybe Cirrus cron tasks won't do that?

AstraLuma commented 3 years ago

To be clear: no action is necessary when xonsh releases. It'll pick it up the next rebuild. (Which should be daily.)

anki-code commented 3 years ago

Which should be daily

But we still have 0.9.24... why? :)

AstraLuma commented 3 years ago

Which should be daily

But we still have 0.9.24... why? :)

This scheduled workflow is disabled because there hasn't been activity in this repository for at least 60 days.

The solution is to probably replace the use of github actions with cirrus ci scheduled tasks.

iamjackg commented 2 years ago

I was just looking at this, and also noticed that the last image version was pushed in December 2020.

image

anki-code commented 2 years ago

@iamjackg I'm using the recipe from xonsh cheatsheet to build docker container with xonsh.

iamjackg commented 2 years ago

Well yeah, that's simple enough to do, but an official prebuilt image is a lot more convenient, and from the comments in this issue it seems like @AstraLuma was already planning to fix it?

AstraLuma commented 2 years ago

Yeah, I set it all up. But apparently the scheduled task stuff isn't working.

Any xore developers can manually trigger a new one.

The real fix is mentioned above.

iamjackg commented 2 years ago

So should I open an issue in the core repo for somebody to trigger a new build, or should I wait for you to figure out the schedule stuff?

AstraLuma commented 2 years ago

huh, that's funny image

this should have been fixed.

I guess I'll email cirrus.

anki-code commented 1 year ago

Still have ancient version on docker hub.

docker pull xonsh/xonsh
docker run -it --rm xonsh/xonsh xonsh --version
# xonsh/0.9.24

Workaround from https://github.com/anki-code/xonsh-cheatsheet:

# Docker with certain Python version and latest release of xonsh
docker run --rm -it python:3.9-slim /bin/bash \
 -c "pip install 'xonsh[full]' && xonsh"

# Docker with certain Python version and xonsh from the master branch
docker run --rm -it python:3.9-slim /bin/bash \
 -c "apt update && apt install -y git && pip install -U git+https://github.com/xonsh/xonsh && xonsh"
AstraLuma commented 1 year ago

Sorry, cirrus said just recreate the cron. If that didn't do it, I guess we need to bother them harder.