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

Move Docker image to hatch + compile #3965

Merged
merged 4 commits into from Oct 23, 2023
Merged

Move Docker image to hatch + compile #3965

merged 4 commits into from Oct 23, 2023

Commits on Oct 22, 2023

  1. Move Docker image to hatch + compile

    - Move to hatch to build wheel
    - Install wheel into venv we copy with colorama + d
    
    Fixes #3928
    
    Test:
    - See we can get black to execute: TODO: Update when compiled is working
    ```
    crl-m1:black cooper$ docker run --rm black_compiled black --version
    black, 23.10.1.dev1+g882d879.d20231022 (compiled: no)
    Python (CPython) 3.11.6
    ```
    - Check size: TODO: Update when compiled
    ```
    crl-m1:black cooper$ docker image ls | grep black_compiled
    black_compiled                 latest            9db38fb7f1d0   4 minutes ago    180MB
    ```
    cooperlees committed Oct 22, 2023
    Copy the full SHA
    61d67e1 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    5add198 View commit details
    Browse the repository at this point in the history
  3. Add env var, extra deps + better glob to get compiled wheel only for …

    …pip install
    
    - Also install uvloop
    cooperlees committed Oct 22, 2023
    Copy the full SHA
    56b9bdb View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    9f96531 View commit details
    Browse the repository at this point in the history