Giter Club home page Giter Club logo

Comments (7)

erblum avatar erblum commented on July 28, 2024 1

Thanks so much, Larry! This is a huge help.

from aga.

FlickerSoul avatar FlickerSoul commented on July 28, 2024

Hi,

Thanks for getting in touch. What python version did you use to bundle the aga script and what python version did you use in gradescope?

It looks like pip may have updated their syntax for dependency management. It's not clear to me how to fix it at this moment but I'd love to help if you can provide me more information (such as Python version and the bundled autograder scripts).

from aga.

erblum avatar erblum commented on July 28, 2024

I generated the .zip on my laptop, which has Python 3.11.5. (I know different Python versions on the same machine sometimes cause sneaky problems, so if there is a way to see/control which Python version is being used to generate, let me know and I'll try to find out for you.)

Looking at the build output, I see a line that says Setting up python3.11 (3.11.8-1+jammy2) ... so it looks like 3.11.8 is being used there.

Here is the bundled script (created by running aga gen --inject injection.py 2_collatz_length.py):
collatz_length.zip

And a zip containing just the plain source files:
src files.zip

from aga.

jimfix avatar jimfix commented on July 28, 2024

Hi, Larry! I faced this problem too. I think I had hoped to work around this by explicitly installing the needed Python packages in setup.sh with the lines below, and then maybe eliminating the install_requires. But it has been a week or so and can't remember if that was a working workaround.

python3.10 -m pip install dataclasses-json
python3.10 -m pip install dill
python3.10 -m pip install gradescope-utils
python3.10 -m pip install typer
python3.10 -m pip install dacite
python3.10 -m pip install toml
python3.10 -m pip install types-toml

from aga.

FlickerSoul avatar FlickerSoul commented on July 28, 2024

A workaround can be removing the ^ in the install_requires in the generated setup.py. I can push an update a bit later.

from aga.

FlickerSoul avatar FlickerSoul commented on July 28, 2024

Alright, the fix has been pushed. I cannot release the package to PyPI because there is some issue with Riley's account (her primary email is not verified). Until then, you can clone the repo and install locally. @jimfix @erblum

from aga.

FlickerSoul avatar FlickerSoul commented on July 28, 2024

I took the idea of aga and built a new version here. The syntax is similar and you should be able to get started pretty quickly with the existing scripts.

from aga.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.