PyBites-Open-Source / eatlocal

This package helps users solve PyBites code challenges on their local machine.
MIT License
20 stars 9 forks source link

eatlocal submit fails on missing .local_bites.json file in repo directory. #55

Closed NielsU closed 4 days ago

NielsU commented 4 days ago

Am working on windows. After running eatlocal init the .local_bites.json is put in my user home directory.

The local bites json is updated at that location, however my pybites repo is in another path.

Eatlocal submit seems to expect the .local_bites.json in the pybites repo, which (in my case) is not correct.

image

rhelmstedter commented 4 days ago

Thanks for letting us know. I just merged a pull request and it should be fixed now. It will look in the home/.eatlocal on your machine. You will just need to update eatlocal to version 1.1.3.

We are taking this week off for Thanksgiving (for me starting tomorrow). If you run into anything else let me know and we'll get back to you next week.

NielsU commented 4 days ago

Thanks for the swift fix! Somehow uv did not replace the package code at update, had to remove it. After new install it works. :)

Happy holidays!

rhelmstedter commented 3 days ago

Glad we fixed the issue.

When I used to use pipx, if I had recently installed a package, fixed a bug, and then try to upgrade to the newest version, it would not get the most recent version unless I added the --force flag.

I'm guessing uv works the same way? Glancing at the docs, it seems like uv tool upgrade eatlocal@latest might work?