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

Port to Python 3 #278

Merged
merged 60 commits into from
Jan 11, 2022
Merged

Port to Python 3 #278

merged 60 commits into from
Jan 11, 2022

Commits on Jan 3, 2022

  1. Configuration menu
    Copy the full SHA
    bede3e7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    96e4c46 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    22b0a17 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d844ded View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5bfcb79 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b3bacf4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b7f22fc View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    013d873 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    cd120f3 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0a0fe9d View commit details
    Browse the repository at this point in the history
  11. switch to flake8 to be able to suppress warnings

    there will be tons of pyflakes warnings from the python3 porting strategy
    exarkun committed Jan 3, 2022
    Configuration menu
    Copy the full SHA
    96137fe View commit details
    Browse the repository at this point in the history
  12. switch from the nixos release tag to branch

    the branch has some python packaging fixes in nixpkgs that we need
    exarkun committed Jan 3, 2022
    Configuration menu
    Copy the full SHA
    244cc32 View commit details
    Browse the repository at this point in the history
  13. fix nixpkgs pkgconfig so mach-nix works at all

    also refactor tests.nix and default.nix so they share more of the environment
    setup which is now slightly more complex
    exarkun committed Jan 3, 2022
    Configuration menu
    Copy the full SHA
    86a8aa1 View commit details
    Browse the repository at this point in the history
  14. initial porting changes

    exarkun committed Jan 3, 2022
    Configuration menu
    Copy the full SHA
    2bd1f45 View commit details
    Browse the repository at this point in the history
  15. black

    exarkun committed Jan 3, 2022
    Configuration menu
    Copy the full SHA
    fc5684e View commit details
    Browse the repository at this point in the history
  16. isort

    exarkun committed Jan 3, 2022
    Configuration menu
    Copy the full SHA
    ed8e0a0 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    c123df9 View commit details
    Browse the repository at this point in the history
  18. fix all the noqa comments

    exarkun committed Jan 3, 2022
    Configuration menu
    Copy the full SHA
    f296f9e View commit details
    Browse the repository at this point in the history
  19. more packaging fixes

    exarkun committed Jan 3, 2022
    Configuration menu
    Copy the full SHA
    71658b3 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    4b5824b View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2022

  1. add a test for using the test vector feature

    and fix it
    exarkun committed Jan 4, 2022
    Configuration menu
    Copy the full SHA
    890e67d View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2022

  1. Configuration menu
    Copy the full SHA
    4dc239c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    61dc80d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4c29995 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bf7c312 View commit details
    Browse the repository at this point in the history
  5. drop __future__ and future imports

    They're all redundant on Python 3
    exarkun committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    36667f6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    11a5df5 View commit details
    Browse the repository at this point in the history
  7. update packaging metadata

    exarkun committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    0e489fa View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2c88272 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    aab21d0 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a990635 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    11b4cc2 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    ec1bf28 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    ba62031 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    adf0b03 View commit details
    Browse the repository at this point in the history
  15. nope, how about this

    exarkun committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    a24eeee View commit details
    Browse the repository at this point in the history
  16. spurious mapping

    exarkun committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    9ce11d0 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    9936c1f View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    cc70a9c View commit details
    Browse the repository at this point in the history
  19. let setrlimit fail :/

    exarkun committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    a8225b0 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    6d098bc View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2022

  1. Configuration menu
    Copy the full SHA
    1f134f9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d2670e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    46fa124 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f6591cb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    92ba74c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c621b05 View commit details
    Browse the repository at this point in the history
  7. cleanup stray keystroke

    exarkun committed Jan 8, 2022
    Configuration menu
    Copy the full SHA
    ea07a48 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f7f0c93 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    14956bf View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    34e05c2 View commit details
    Browse the repository at this point in the history
  11. fixup comment in new test

    exarkun committed Jan 8, 2022
    Configuration menu
    Copy the full SHA
    22b0014 View commit details
    Browse the repository at this point in the history
  12. Use auto_attribus on a couple exception types

    However, we still cannot be frozen (because of Failure.cleanFailure) and
    cannot use attrs exception support (because we want value-based comparison).
    exarkun committed Jan 8, 2022
    Configuration menu
    Copy the full SHA
    1ebff29 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    67072ba View commit details
    Browse the repository at this point in the history
  14. It's already a text-mode FilePath, right?

    TempDir.join(unicode) returns unicode
    TempDir.join(bytes) raises an Exception
    FilePath(unicode) produces a text-mode FilePath
    StorageServer.__init__ raises an exception if passed bytes
    
    So we can just rely on self.tempdir.path being the correct type already and
    even if it weren't StorageServer would immediately tell us.
    exarkun committed Jan 8, 2022
    Configuration menu
    Copy the full SHA
    39985b1 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    4ddd84c View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2022

  1. Configuration menu
    Copy the full SHA
    4f59ff8 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2022

  1. Configuration menu
    Copy the full SHA
    209c83c View commit details
    Browse the repository at this point in the history
  2. Use __future__.annotations

    exarkun committed Jan 11, 2022
    Configuration menu
    Copy the full SHA
    7581149 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cb771a9 View commit details
    Browse the repository at this point in the history