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

Add python 3.10 support #2885

Merged
merged 17 commits into from Jul 19, 2021
Merged

Add python 3.10 support #2885

merged 17 commits into from Jul 19, 2021

Commits on Jun 6, 2021

  1. Configuration menu
    Copy the full SHA
    6a243ae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e8fc3f1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    98d7096 View commit details
    Browse the repository at this point in the history
  4. refactor: replace enum check

    Error with 3.10
    > DeprecationWarning: accessing one member from another is not supported
    PrettyWood committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    863be10 View commit details
    Browse the repository at this point in the history
  5. refactor: avoid using distutils directly

    error with python 3.10
    > DeprecationWarning: The distutils package is deprecated and slated
    > for removal in Python 3.12.
    > Use setuptools or check PEP 632 for potential alternatives
    PrettyWood committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    3877599 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    944fb7e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    534774a View commit details
    Browse the repository at this point in the history
  8. ci: add run with 3.10.0b2

    PrettyWood committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    d754b31 View commit details
    Browse the repository at this point in the history
  9. docs: add 3.10

    PrettyWood committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    f45a02f View commit details
    Browse the repository at this point in the history
  10. feat: support | union operator properly

    `|` operator has origin `types.Union` (and not `typing.Union`)
    PrettyWood committed Jun 6, 2021
    Configuration menu
    Copy the full SHA
    c9e0604 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2021

  1. Configuration menu
    Copy the full SHA
    b1c8d9e View commit details
    Browse the repository at this point in the history
  2. fix: error message changed a bit

    change from basic `__init__` to `test_hashable_required.<locals>.MyDataclass.__init__()` (with `__qualname__`)
    PrettyWood committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    f422277 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    05c51bd View commit details
    Browse the repository at this point in the history
  4. fix: avoid calling asyncio.get_event_loop directly

    With python 3.10, calling it results in
    > DeprecationWarning: There is no current event loop
    PrettyWood committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    75174c2 View commit details
    Browse the repository at this point in the history
  5. fix(ci): do not run 3.10 on linux for now

    For now it can not be compiled.
    Let's just skip the check on linux for now instead of tuning the CI pipeline
    PrettyWood committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    8b79ceb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2820a92 View commit details
    Browse the repository at this point in the history
  7. docs: add change file

    PrettyWood committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    5bf6f7c View commit details
    Browse the repository at this point in the history