From 73aa521735b54565882de9c26e4b6fcc8c9968fc Mon Sep 17 00:00:00 2001 From: Antoine Romero-Romero Date: Sun, 15 Jan 2023 21:28:01 +0000 Subject: [PATCH 1/2] chore(ci): add python 3.11 to the build and test CI --- .github/workflows/build-CI.yml | 7 ++++--- .github/workflows/python-CI.yml | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-CI.yml b/.github/workflows/build-CI.yml index 7bb1cc218..a411defa4 100644 --- a/.github/workflows/build-CI.yml +++ b/.github/workflows/build-CI.yml @@ -11,7 +11,7 @@ jobs: runs-on: macos-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 @@ -51,7 +51,7 @@ jobs: runs-on: windows-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] target: [x64, x86] steps: - uses: actions/checkout@v3 @@ -85,7 +85,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] target: [x86_64, i686] steps: - uses: actions/checkout@v3 @@ -125,6 +125,7 @@ jobs: { version: "3.8", abi: "cp38-cp38" }, { version: "3.9", abi: "cp39-cp39" }, { version: "3.10", abi: "cp310-cp310" }, + { version: "3.11", abi: "cp311-cp311" }, ] target: [aarch64, armv7, s390x, ppc64le] steps: diff --git a/.github/workflows/python-CI.yml b/.github/workflows/python-CI.yml index bb78bf079..d131fea84 100644 --- a/.github/workflows/python-CI.yml +++ b/.github/workflows/python-CI.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3 From a3afd5f2779d97cb6bb1e54f86e0bd01e29ab50e Mon Sep 17 00:00:00 2001 From: Antoine Romero-Romero Date: Sun, 15 Jan 2023 21:56:59 +0000 Subject: [PATCH 2/2] chore: update uvloop dependency to 0.17 for python 3.11 support --- pyproject.toml | 6 +++--- robyn/test-requirements.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e8c464971..5b59ec4d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,9 +13,9 @@ dependencies = [ 'watchdog == 2.1.3', 'multiprocess == 0.70.12.2', # conditional - 'uvloop == 0.16.0; sys_platform == "darwin"', - 'uvloop == 0.16.0; platform_machine == "x86_64"', - 'uvloop == 0.16.0; platform_machine == "i686"' + 'uvloop == 0.17.0; sys_platform == "darwin"', + 'uvloop == 0.17.0; platform_machine == "x86_64"', + 'uvloop == 0.17.0; platform_machine == "i686"' ] classifiers = [ "Development Status :: 3 - Alpha", diff --git a/robyn/test-requirements.txt b/robyn/test-requirements.txt index e30bebd1f..bd951ed0a 100644 --- a/robyn/test-requirements.txt +++ b/robyn/test-requirements.txt @@ -2,7 +2,7 @@ pytest==6.2.5 maturin==0.12.11 watchdog requests==2.26.0 -uvloop==0.16.0 +uvloop==0.17.0 multiprocess==0.70.12.2 websockets==10.1 jinja2==3.0.2