From c43dd9e429fae5564e7554e42fd7b138af42858e Mon Sep 17 00:00:00 2001 From: Earle Lowe Date: Wed, 23 Oct 2024 12:34:35 -0700 Subject: [PATCH 1/3] Remove 3.8 and update to build binary and sdist --- .github/workflows/main.yml | 2 +- .github/workflows/publish-to-pypi.yml | 33 +++++++++++++-------------- 2 files changed, 17 insertions(+), 18 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 14cc082..f5ec75b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ jobs: fail-fast: false matrix: os: [macos-latest, ubuntu-latest, windows-latest] - python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ] + python-version: [ '3.9', '3.10', '3.11', '3.12' ] name: Python ${{ matrix.os }} ${{ matrix.python-version }} sample steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index fa5de1d..78a7474 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -31,25 +31,24 @@ jobs: - run: | git fetch origin +refs/tags/*:refs/tags/* - - name: Set up Python 3.8 + - name: Set up Python 3.10 uses: actions/setup-python@v5 with: - python-version: 3.8 - - - name: Install pep517 - run: >- - python -m - pip install - pep517 - --user - - - name: Build a binary wheel and a source tarball - run: >- - python -m - pep517.build - --binary - --out-dir dist/ - . + python-version: '3.10' + + - name: Build a binary wheel and a source tarball + run: | + python -m venv venv + source venv/bin/activate + python -m pip install --upgrade pip + pip install build + python -m build --outdir dist . + + - name: Upload artifacts + uses: actions/upload-artifact@v4 + with: + name: dist + path: ./dist - name: Publish distribution to PyPI if: startsWith(github.event.ref, 'refs/tags') From 08b22ca791e1513ac8826c748ccecdd08e79a464 Mon Sep 17 00:00:00 2001 From: Earle Lowe Date: Wed, 23 Oct 2024 12:45:38 -0700 Subject: [PATCH 2/3] Update classifies and use SPDX license id --- setup.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index ea59954..19e949a 100755 --- a/setup.py +++ b/setup.py @@ -41,15 +41,17 @@ author_email="kiss@chia.net", install_requires=dependencies, url="https://github.com/Chia-Network", - license="https://opensource.org/licenses/Apache-2.0", + license="Apache-2.0", description="CLVM compiler.", long_description=long_description, long_description_content_type="text/markdown", classifiers=[ "Development Status :: 3 - Alpha", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "License :: OSI Approved :: Apache Software License", "Topic :: Security :: Cryptography", ], From b6b0c38bd92f968c346f5d85425a30059f6d0006 Mon Sep 17 00:00:00 2001 From: Earle Lowe <30607889+emlowe@users.noreply.github.com> Date: Wed, 23 Oct 2024 12:50:10 -0700 Subject: [PATCH 3/3] update author email to hello@ --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 19e949a..bf0b00c 100755 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ package_data={ "": ["py.typed"], }, - author_email="kiss@chia.net", + author_email="hello@chia.net", install_requires=dependencies, url="https://github.com/Chia-Network", license="Apache-2.0",