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

Added ability to select bytecode invalidation mode of generated .pyc #2297

Merged
merged 6 commits into from
Mar 8, 2024

Commits on Mar 8, 2024

  1. Added ability to select bytecode invalidation mode of generated .pyc …

    …files.
    
    Since Python 3.7, deterministic pycs are possible (see https://peps.python.org/pep-0552/)
    To select the bytecode invalidation mode explicitly by env var:
    
       PYC_INVALIDATION_MODE=UNCHECKED_HASH uv pip install --compile ...
    
    Valid values are TIMESTAMP (default), CHECKED_HASH, and UNCHECKED_HASH
    The latter options are useful for reproducible builds.
    wimglenn committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    ddc72cd View commit details
    Browse the repository at this point in the history
  2. Add error handling and test

    konstin committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    93febfd View commit details
    Browse the repository at this point in the history
  3. Fix path escaping

    konstin committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    2442ba8 View commit details
    Browse the repository at this point in the history
  4. Fix windows tests

    konstin committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    84e9ba4 View commit details
    Browse the repository at this point in the history
  5. cargo fmt

    konstin committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    71cac81 View commit details
    Browse the repository at this point in the history
  6. Fix mac os, maybe?

    konstin committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    c29b42d View commit details
    Browse the repository at this point in the history