From aaf17a0967916a26bba55268471354139d0c0582 Mon Sep 17 00:00:00 2001 From: Dax Pryce Date: Fri, 15 Oct 2021 11:51:31 -0700 Subject: [PATCH] Build for 3.10 (#24) * Build for 3.10 It's possible we can build for 3.10 without too much effort, so I'm going to try to do that. I can't create a build for just 3.10 on the 1.0.0 spot because our release process doesn't make that super easy, so I'm going to increment to 1.0.1 without actually making any changes. If I get a build working I'll see about including a type stub in our package as well for 1.0.1 so people can rely on that too * Build matrix update to include 3.10 * Apparently 3.10 has to be in string quotes for it to work This may not matter in this case but... I'm trying it. * update setup-python version to 2 --- .github/workflows/build.yml | 10 +++++----- packages/pyo3/Cargo.toml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b7a0e11..cb06013 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,7 +6,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up Python 3.8 - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: python-version: 3.8 - name: Materialize build number @@ -38,13 +38,13 @@ jobs: strategy: matrix: os: ["ubuntu-latest", "windows-latest", "macos-latest"] - python_version: ["3.6", "3.7", "3.8", "3.9"] + python_version: ["3.6", "3.7", "3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v2 - name: Set up Python ${{matrix.python_version}} - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: - python-version: ${{matrix.python_version}} + python-version: "${{matrix.python_version}}" - uses: actions/download-artifact@v2 with: name: cargo-toml @@ -82,7 +82,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up Python 3.8 - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: python-version: 3.8 - uses: actions/download-artifact@v2 diff --git a/packages/pyo3/Cargo.toml b/packages/pyo3/Cargo.toml index 3aa9dfb..bd009d0 100644 --- a/packages/pyo3/Cargo.toml +++ b/packages/pyo3/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "graspologic_native" -version = "1.0.0" +version = "1.0.1" authors = ["dwpryce@microsoft.com"] edition = "2018" license = "MIT" @@ -10,7 +10,7 @@ readme = "README.md" [package.metadata.maturin] maintainer = "Dwayne Pryce" maintainer-email = "dwpryce@microsoft.com" -requires-python = ">=3.6,<3.10" +requires-python = ">=3.6,<3.11" project-url = {"Github" = "https://github.com/microsoft/graspologic-native", "Graspologic"="https://github.com/microsoft/graspologic"} classifier = ["Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Topic :: Scientific/Engineering :: Mathematics"]