Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Multiple Python Versions #175

Closed
wants to merge 10 commits into from
Closed

Support Multiple Python Versions #175

wants to merge 10 commits into from

Commits on Mar 15, 2023

  1. Add Multi-version Capability

    Adds support for having multiple evaluation python versions installed in
    the docker container. A utility to automatically generate correct
    dockerfile instructions and nsjail mounts based on the available
    versions is also included.
    
    Signed-off-by: Hassan Abouelela <[email protected]>
    HassanAbouelela committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    47a9e0d View commit details
    Browse the repository at this point in the history
  2. Add Multiple Version Eval To API

    Adds a version argument to the eval API, and a GET endpoint to retrieve
    all enabled versions.
    
    Signed-off-by: Hassan Abouelela <[email protected]>
    HassanAbouelela committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    bc4981b View commit details
    Browse the repository at this point in the history
  3. Make Python Binary Mount Dynamic

    Signed-off-by: Hassan Abouelela <[email protected]>
    HassanAbouelela committed Mar 15, 2023
    Configuration menu
    Copy the full SHA
    d6a4f2a View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2023

  1. Refactor Python Version Parsing

    Remove the pointless function and allow the file-level constants to be
    imported by external callers.
    
    Signed-off-by: Hassan Abouelela <[email protected]>
    HassanAbouelela committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    59dce27 View commit details
    Browse the repository at this point in the history
  2. Move Info Endpoint

    Move the information endpoint from the eval resource into its own
    location. This endpoint currently only returns the python version but
    can easily be expanded with more info later.
    
    Signed-off-by: Hassan Abouelela <[email protected]>
    HassanAbouelela committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    8375787 View commit details
    Browse the repository at this point in the history
  3. Add More Information To Version Display Names

    Signed-off-by: Hassan Abouelela <[email protected]>
    HassanAbouelela committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    f564fd7 View commit details
    Browse the repository at this point in the history
  4. Update Failing Tests

    Signed-off-by: Hassan Abouelela <[email protected]>
    HassanAbouelela committed Mar 17, 2023
    Configuration menu
    Copy the full SHA
    e3943f5 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2023

  1. Add Python Version Tests

    Signed-off-by: Hassan Abouelela <[email protected]>
    HassanAbouelela committed Mar 18, 2023
    Configuration menu
    Copy the full SHA
    cd978fd View commit details
    Browse the repository at this point in the history
  2. Document Python Version Selection

    Signed-off-by: Hassan Abouelela <[email protected]>
    HassanAbouelela committed Mar 18, 2023
    Configuration menu
    Copy the full SHA
    fe865e1 View commit details
    Browse the repository at this point in the history
  3. Add Slim Image

    Adds an image with only one python version installed. This can be useful
    in development environments for other projects where the multi-version
    features are less useful than a more efficient container.
    
    Signed-off-by: Hassan Abouelela <[email protected]>
    HassanAbouelela committed Mar 18, 2023
    Configuration menu
    Copy the full SHA
    3d9eff4 View commit details
    Browse the repository at this point in the history