diff --git a/.github/workflows/Build_wheels_for_cpython27_x86.yml b/.github/workflows/Build_wheels_for_cpython27_x86.yml index 4eea46a5e..7c12de096 100644 --- a/.github/workflows/Build_wheels_for_cpython27_x86.yml +++ b/.github/workflows/Build_wheels_for_cpython27_x86.yml @@ -1,4 +1,4 @@ -name: Build wheels for CPython2.7 x86 on Ubuntu18 with GCC-7 with All warnings +name: Build wheels for CPython2.7 x86 on Ubuntu14 with GCC-4.8 with All warnings on: [push, pull_request] @@ -14,12 +14,12 @@ jobs: fail-fast: false matrix: os: - - name: Ubuntu 24+18 i386 CPython 2.7 + - name: Ubuntu 24+14 i386 CPython 2.7 runs-on: ubuntu-latest matrix: linux arch: i386 tag_arch: i686 - release: bionic + release: trusty mirror: http://azure.archive.ubuntu.com/ubuntu #version: 1.5.6.7 #pyver: "2.7" @@ -92,7 +92,7 @@ jobs: run: | sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install --no-install-recommends -y ${{matrix.os.pypkg}}-dev gcc pkg-config ${{matrix.os.pypkgadd}} sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "wget ${{matrix.os.getpipurl}} -O get-pip.py && ${{matrix.os.pypkg}} get-pip.py" - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "${{matrix.os.pypkg}} -m pip install -U 'setuptools'" + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "${{matrix.os.pypkg}} -m pip install -U 'setuptools<72'" - name: Pepare source and build wheel for ${{matrix.os.pypkg}} ${{matrix.os.arch}} if: matrix.os.matrix == 'linux' diff --git a/.github/workflows/Build_wheels_for_cpython27_x86_64.yml b/.github/workflows/Build_wheels_for_cpython27_x86_64.yml index 2d216ce3e..e54973574 100644 --- a/.github/workflows/Build_wheels_for_cpython27_x86_64.yml +++ b/.github/workflows/Build_wheels_for_cpython27_x86_64.yml @@ -1,4 +1,4 @@ -name: Build wheels for CPython2.7 x64 on Ubuntu18 with GCC-7 with All warnings +name: Build wheels for CPython2.7 x64 on Ubuntu14 with GCC-4.8 with All warnings on: [push, pull_request] @@ -14,19 +14,19 @@ jobs: fail-fast: false matrix: os: - - name: Ubuntu 24+16 amd64 CPython 2.7 + - name: Ubuntu 24+14 amd64 CPython 2.7 runs-on: ubuntu-latest matrix: linux arch: amd64 tag_arch: x86_64 - release: bionic + release: trusty mirror: http://azure.archive.ubuntu.com/ubuntu #version: 1.5.6.7 #pyver: "2.7" getpipurl: https://bootstrap.pypa.io/pip/2.7/get-pip.py pypkg: python2.7 pyengine_tag: cp27-cp27mu - libc_tag: manylinux_2_4 + libc_tag: manylinux_2_14 steps: - name: Checkout code uses: actions/checkout@v4 @@ -92,7 +92,7 @@ jobs: run: | sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y ${{matrix.os.pypkg}}-dev gcc pkg-config ${{matrix.os.pypkgadd}} sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "wget ${{matrix.os.getpipurl}} -O get-pip.py && ${{matrix.os.pypkg}} get-pip.py || true" - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "${{matrix.os.pypkg}} -m pip install -U 'setuptools'" + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "${{matrix.os.pypkg}} -m pip install -U 'setuptools<72'" - name: Pepare source and build wheel for ${{matrix.os.pypkg}} ${{matrix.os.arch}} if: matrix.os.matrix == 'linux' @@ -102,8 +102,8 @@ jobs: sudo tar -xvf dist/zstd-$version.tar.gz -C ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/build_wheel/ false && sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} env sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} pkg-config libzstd --modversion - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} echo GCC-7 - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} gcc-7 -v + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} echo GCC + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} gcc -v sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "cd /build_wheel/zstd-$version && CC=gcc-7 ZSTD_ASM=1 _ZSTD_SMALL=1 ZSTD_WARNINGS=1 _ZSTD_WERRORS=1 _ZSTD_ASM_BMI2=1 ZSTD_THREADS=1 _ZSTD_EXTERNAL=1 ${{matrix.os.pypkg}} setup.py bdist_wheel" - name: Test wheel for ${{matrix.os.pypkg}} ${{matrix.os.arch}} diff --git a/.github/workflows/Build_wheels_for_cpython27_x86_ext.yml b/.github/workflows/Build_wheels_for_cpython27_x86_ext.yml index 6f9d0c612..04e2c6602 100644 --- a/.github/workflows/Build_wheels_for_cpython27_x86_ext.yml +++ b/.github/workflows/Build_wheels_for_cpython27_x86_ext.yml @@ -1,4 +1,4 @@ -name: Build wheels for CPython2.7 x86 on Ubuntu16 with GCC-5 with All warnings, test external build +name: Build wheels for CPython2.7 x86 on Ubuntu14 with GCC-4.8 with All warnings, test external build on: [push, pull_request] @@ -14,12 +14,12 @@ jobs: fail-fast: false matrix: os: - - name: Ubuntu 24+16 i386 CPython 2.7 + - name: Ubuntu 24+14 i386 CPython 2.7 runs-on: ubuntu-latest matrix: linux arch: i386 tag_arch: i686 - release: xenial + release: trusty mirror: http://azure.archive.ubuntu.com/ubuntu #version: 1.5.6.7 #pyver: "2.7" @@ -88,10 +88,9 @@ jobs: - name: Pepare for ${{matrix.os.pypkg}} ${{matrix.os.arch}} if: matrix.os.matrix == 'linux' run: | - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt-cache madison clang-18 sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y ${{matrix.os.pypkg}}-dev gcc pkg-config ${{matrix.os.pypkgadd}} sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "wget ${{matrix.os.getpipurl}} -O get-pip.py && ${{matrix.os.pypkg}} get-pip.py" - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "${{matrix.os.pypkg}} -m pip install -U 'setuptools'" + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "${{matrix.os.pypkg}} -m pip install -U 'setuptools<72'" - name: Pepare source and build wheel for ${{matrix.os.pypkg}} ${{matrix.os.arch}} if: matrix.os.matrix == 'linux' @@ -103,8 +102,8 @@ jobs: false && sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} env sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} pkg-config libzstd --modversion - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} echo GCC-5 - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} gcc-5 -v + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} echo GCC + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} gcc -v sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "cd /build_wheel/zstd-$version && _CC=clang-20 ZSTD_ASM=1 ZSTD_WARNINGS=1 ZSTD_WERRORS=1 _ZSTD_SMALL=1 _ZSTD_ASM_BMI2=1 ZSTD_THREADS=1 ZSTD_EXTERNAL=1 CC=gcc-5 ${{matrix.os.pypkg}} setup.py bdist_wheel " - name: Test wheel for ${{matrix.os.pypkg}} ${{matrix.os.arch}} diff --git a/.github/workflows/Build_wheels_for_cpython312_x86_u16.yml b/.github/workflows/Build_wheels_for_cpython312_x86_u16.yml index 97480dff6..8f7d5cd15 100644 --- a/.github/workflows/Build_wheels_for_cpython312_x86_u16.yml +++ b/.github/workflows/Build_wheels_for_cpython312_x86_u16.yml @@ -24,7 +24,7 @@ jobs: getpipurl: https://bootstrap.pypa.io/pip/get-pip.py pypkg: python3.12 pyengine_tag: cp312-cp312 - libc_tag: manylinux_2_14 + libc_tag: manylinux_2_4 steps: - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/Build_wheels_for_cpython313_x86_64_u24.yml b/.github/workflows/Build_wheels_for_cpython313_x64_u18.yml similarity index 88% rename from .github/workflows/Build_wheels_for_cpython313_x86_64_u24.yml rename to .github/workflows/Build_wheels_for_cpython313_x64_u18.yml index 080ce2952..f86acfaa5 100644 --- a/.github/workflows/Build_wheels_for_cpython313_x86_64_u24.yml +++ b/.github/workflows/Build_wheels_for_cpython313_x64_u18.yml @@ -1,4 +1,4 @@ -name: Build wheels for CPython3.13 x86_64 on Ubuntu22 with GCC-10 All warnings +name: Build wheels for CPython3.13 x86_64 on Ubuntu18 with GCC-7 All warnings on: [push, pull_request] @@ -14,12 +14,12 @@ jobs: fail-fast: false matrix: os: - - name: Ubuntu 24+20 amd64 CPython 3.13 + - name: Ubuntu 24+18 amd64 CPython 3.13 runs-on: ubuntu-latest matrix: linux arch: amd64 tag_arch: x86_64 - release: jammy + release: bionic mirror: http://azure.archive.ubuntu.com/ubuntu getpipurl: https://bootstrap.pypa.io/pip/get-pip.py pypkg: python3.13 @@ -61,14 +61,12 @@ jobs: sudo mount none ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/proc -t proc sudo mount none ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/dev/pts -t devpts sudo mount none ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/sys -t sysfs - echo "# deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/python ubuntu-${{matrix.os.release}} main" > rusoft-python.list - echo "# deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/backports ubuntu-${{matrix.os.release}} main" > rusoft-backports.list - echo "# deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/packages ubuntu-${{matrix.os.release}} main" > rusoft-packages.list - echo " deb [trusted=yes] http://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu ${{matrix.os.release}} main" > deadsnakes.list - false && sudo find ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} -iname apt + echo " deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/python ubuntu-${{matrix.os.release}} main" > rusoft-python.list + echo " deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/backports ubuntu-${{matrix.os.release}} main" > rusoft-backports.list + echo " deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/packages ubuntu-${{matrix.os.release}} main" > rusoft-packages.list + echo "# deb [trusted=yes] http://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu ${{matrix.os.release}} main" > deadsnakes.list sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt update sudo cp -v ./*.list ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/etc/apt/sources.list.d - false && sudo rm -fv ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/etc/apt/trusted.gpg.d/* && sudo rm -fv ./ubuntu-xenial-x86/etc/apt/trusted.gpg sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c 'cd /etc/apt/trusted.gpg.d && wget http://packages.rusoft.ru/apt/public.gpg -Orusoft.gpg' sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c 'cd /etc/apt/trusted.gpg.d && wget http://packages.rusoft.ru/apt/public-old.gpg -Orusoft-old.gpg' sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c 'apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys A2CE4BCCC50209DD || true' @@ -167,3 +165,14 @@ jobs: TWINE_PASSWORD: "${{ secrets.test_pypi_password }}" run: twine upload --non-interactive --skip-existing --verbose 'dist/*' + - name: Create Release and Upload Assets + if: > + startsWith(github.event.ref, 'refs/tags') && + steps.check_secrets.outputs.HAS_SECRET + # This uses a community action for creating and uploading to a release + uses: softprops/action-gh-release@v1 + with: + files: dist/*.whl + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # The default GITHUB_TOKEN has sufficient permissions \ No newline at end of file diff --git a/.github/workflows/Build_wheels_for_cpython313_x86_u16.yml b/.github/workflows/Build_wheels_for_cpython313_x86_u18.yml similarity index 93% rename from .github/workflows/Build_wheels_for_cpython313_x86_u16.yml rename to .github/workflows/Build_wheels_for_cpython313_x86_u18.yml index f121beff7..eb5da41f4 100644 --- a/.github/workflows/Build_wheels_for_cpython313_x86_u16.yml +++ b/.github/workflows/Build_wheels_for_cpython313_x86_u18.yml @@ -1,4 +1,4 @@ -name: Build wheels for CPython3.13 x86 on Ubuntu16 with GCC-5 All warnings +name: Build wheels for CPython3.13 x86 on Ubuntu18 with GCC-7 All warnings on: [push, pull_request] @@ -14,17 +14,17 @@ jobs: fail-fast: false matrix: os: - - name: Ubuntu 24+16 x86 CPython 3.13 + - name: Ubuntu 24+18 x86 CPython 3.13 runs-on: ubuntu-latest matrix: linux arch: i386 tag_arch: i686 - release: xenial + release: bionic mirror: http://azure.archive.ubuntu.com/ubuntu getpipurl: https://bootstrap.pypa.io/pip/get-pip.py pypkg: python3.13 pyengine_tag: cp313-cp313 - libc_tag: manylinux_2_14 + libc_tag: manylinux_2_4 steps: - name: Checkout code uses: actions/checkout@v4 @@ -66,7 +66,6 @@ jobs: echo "# deb [trusted=yes] http://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu ${{matrix.os.release}} main" > deadsnakes.list sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt update sudo cp -v ./*.list ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/etc/apt/sources.list.d - false && sudo rm -fv ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/etc/apt/trusted.gpg.d/* && sudo rm -fv ./ubuntu-xenial-x86/etc/apt/trusted.gpg sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c 'cd /etc/apt/trusted.gpg.d && wget http://packages.rusoft.ru/apt/public.gpg -Orusoft.gpg' sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c 'cd /etc/apt/trusted.gpg.d && wget http://packages.rusoft.ru/apt/public-old.gpg -Orusoft-old.gpg' sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c 'apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys A2CE4BCCC50209DD || true' @@ -165,3 +164,14 @@ jobs: TWINE_PASSWORD: "${{ secrets.test_pypi_password }}" run: twine upload --non-interactive --skip-existing --verbose 'dist/*' + - name: Create Release and Upload Assets + if: > + startsWith(github.event.ref, 'refs/tags') && + steps.check_secrets.outputs.HAS_SECRET + # This uses a community action for creating and uploading to a release + uses: softprops/action-gh-release@v1 + with: + files: dist/*.whl + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # The default GITHUB_TOKEN has sufficient permissions \ No newline at end of file diff --git a/.github/workflows/Build_wheels_for_cpython313t_x64_u16.yml b/.github/workflows/Build_wheels_for_cpython313t_x64_u16.yml deleted file mode 100644 index 4311ccf12..000000000 --- a/.github/workflows/Build_wheels_for_cpython313t_x64_u16.yml +++ /dev/null @@ -1,168 +0,0 @@ -name: Build wheels for CPython3.13-nogil x64 on Ubuntu22 with GCC-10 All warnings - -on: [push, pull_request] - -concurrency: - group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && github.sha || '' }} - cancel-in-progress: true - -jobs: - build_wheels: - name: Build wheel - ${{ matrix.os.name }} - runs-on: ${{ matrix.os.runs-on }} - strategy: - fail-fast: false - matrix: - os: - - name: Ubuntu 24+22 amd64 CPython 3.13-nogil - runs-on: ubuntu-latest - matrix: linux - arch: amd64 - tag_arch: x86_64 - release: jammy - mirror: http://azure.archive.ubuntu.com/ubuntu - getpipurl: https://bootstrap.pypa.io/pip/get-pip.py - pypkg: python3.13-nogil - pypkgdev: python3.13-dev - pypkgexe: python3.13t - pyengine_tag: cp313-cp313t - libc_tag: manylinux_2_14 - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - submodules: 'recursive' - - - name: Update and upgrade Ubuntu 24 - if: matrix.os.matrix == 'linux' - run: | - sudo which apt - sudo apt update; - sudo apt purge -y firefox lxd snapd; - sudo apt install -y zram-config; - sudo apt list --upgradable; - sudo apt upgrade -y; - sudo apt install -f - - - name: Build source distribution with Ubuntu - if: matrix.os.matrix == 'linux' - run: | - sudo apt install -y debootstrap qemu-user; - pip install build; - python -m build --sdist --outdir dist . - - - name: Debootstrap Ubuntu ${{matrix.os.release}} ${{matrix.os.arch}} - if: matrix.os.matrix == 'linux' - run: | - sudo debootstrap --no-merged-usr --verbose --include=sudo,wget,curl,gnupg,ca-certificates --arch=${{matrix.os.arch}} ${{matrix.os.release}} ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} ${{matrix.os.mirror}} || tail ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/debootstrap/debootstrap.log - - - name: Update and Upgrade Ubuntu ${{matrix.os.release}} - if: matrix.os.matrix == 'linux' - run: | - sudo mkdir -p ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/build_wheel - sudo mount none ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/proc -t proc - sudo mount none ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/dev/pts -t devpts - sudo mount none ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/sys -t sysfs - echo "# deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/python ubuntu-${{matrix.os.release}} main" > rusoft-python.list - echo "# deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/backports ubuntu-${{matrix.os.release}} main" > rusoft-backports.list - echo "# deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/packages ubuntu-${{matrix.os.release}} main" > rusoft-packages.list - echo " deb [trusted=yes] http://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu ${{matrix.os.release}} main" > deadsnakes.list - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt update - sudo cp -v ./*.list ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/etc/apt/sources.list.d - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c 'cd /etc/apt/trusted.gpg.d && wget http://packages.rusoft.ru/apt/public.gpg -Orusoft.gpg' - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c 'cd /etc/apt/trusted.gpg.d && wget http://packages.rusoft.ru/apt/public-old.gpg -Orusoft-old.gpg' - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c 'apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys A2CE4BCCC50209DD || true' - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt update - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt upgrade -y - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt -fy install - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt upgrade -y - - - - name: Pepare dev files - if: matrix.os.matrix == 'linux' - run: | - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y libzstd-dev file - - - name: Pepare for ${{matrix.os.pypkg}} ${{matrix.os.arch}} - if: matrix.os.matrix == 'linux' - run: | - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y ${{matrix.os.pypkgdev}} ${{matrix.os.pypkg}} gcc pkg-config ${{matrix.os.pypkgadd}} - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "wget ${{matrix.os.getpipurl}} -O get-pip.py && ${{matrix.os.pypkgexe}} get-pip.py || true" - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "${{matrix.os.pypkgexe}} -m pip install -U 'setuptools<72.0'" - - - name: Pepare source and build wheel for ${{matrix.os.pypkgexe}} ${{matrix.os.arch}} - if: matrix.os.matrix == 'linux' - run: | - version=`cat version` - sudo mkdir -p ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/build_wheel/ - sudo tar -xvf dist/zstd-$version.tar.gz -C ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/build_wheel/ - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} pkg-config libzstd --modversion - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} echo GCC - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} gcc -v - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "cd /build_wheel/zstd-$version/ && ZSTD_ASM=1 ZSTD_WARNINGS=1 _ZSTD_SMALL=1 LDFLAGS='-Wl,--as-needed -Wl,-s' ZSTD_BUILD_STRIP=1 _ZSTD_SPEED=0 _ZSTD_SPEEDMAX=0 _ZSTD_ASM_BMI2=1 ZSTD_THREADS=1 _ZSTD_EXTERNAL=0 ZS5D_WERRORS=1 ${{matrix.os.pypkgexe}} setup.py bdist_wheel" - - - name: Test wheel for ${{matrix.os.pypkg}} ${{matrix.os.arch}} - if: matrix.os.matrix == 'linux' - run: | - version=`cat version` - false && sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} find /build_wheel/ - sudo cp -v glibc-check.sh ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/build_wheel/zstd-$version/ - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "cd /build_wheel/zstd-$version/ && echo LLH; ls -lh build/lib*/zstd.*.so; ldd build/lib*/zstd.*.so ; file build/lib*/zstd.*.so; bash ./glibc-check.sh build/lib*/zstd.*.so" - - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "cd /build_wheel/zstd-$version/ && ${{matrix.os.pypkg}} setup.py test" - - - name: Pepare wheel for upload - if: matrix.os.matrix == 'linux' - run: | - version=`cat version` - sudo cp -v ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/build_wheel/zstd-$version/dist/* ./dist - sudo ls -lh ./dist/* - sudo mv -v ./dist/"zstd-$version-${{matrix.os.pyengine_tag}}-linux_${{matrix.os.tag_arch}}.whl" ./dist/"zstd-$version-${{matrix.os.pyengine_tag}}-${{matrix.os.libc_tag}}_${{matrix.os.tag_arch}}.whl" - - - - name: Test for secrets access - id: check_secrets - # If a third party makes a pull request - # this allows automated steps below to be skipped - # and leave a clean PR CI run - shell: bash - run: | - unset HAS_SECRET - unset HAS_SECRET_TEST - if [ -n "$SECRET" ]; then HAS_SECRET='true' ; fi - if [ -n "$SECRET_TEST" ]; then HAS_SECRET_TEST='true' ; fi - echo ::set-output name=HAS_SECRET::${HAS_SECRET} - echo ::set-output name=HAS_SECRET_TEST::${HAS_SECRET_TEST} - env: - SECRET: "${{ secrets.pypi_password }}" - SECRET_TEST: "${{ secrets.test_pypi_password }}" - - - name: Install twine - run: pip install 'twine<=6.0.1' - - - name: Publish distribution to PyPI - if: > - startsWith(github.event.ref, 'refs/tags') && - steps.check_secrets.outputs.HAS_SECRET - env: - # If the PR/Push has secret access - # and PYPI_PASSWORD is in GH Secrets for this repo - # and this is a tag, publish to PyPI - TWINE_REPOSITORY_URL: https://upload.pypi.org/legacy/ - TWINE_USERNAME: "${{ secrets.pypi_username }}" - TWINE_NON_INTERACTIVE: 1 - TWINE_PASSWORD: "${{ secrets.pypi_password }}" - run: twine upload --non-interactive --skip-existing --verbose 'dist/*' - - - name: Publish distribution to Test PyPI - if: steps.check_secrets.outputs.HAS_SECRET - env: - # If the PR/Push has secret access - # and TEST_PYPI_PASSWORD is in GH Secrets for this repo - # then publish each build to test PyPI - TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/ - TWINE_USERNAME: "${{ secrets.test_pypi_username }}" - TWINE_NON_INTERACTIVE: 1 - TWINE_PASSWORD: "${{ secrets.test_pypi_password }}" - run: twine upload --non-interactive --skip-existing --verbose 'dist/*' - diff --git a/.github/workflows/Build_wheels_for_cpython313t_x86_u16.yml b/.github/workflows/Build_wheels_for_cpython313t_x64_u18.yml similarity index 90% rename from .github/workflows/Build_wheels_for_cpython313t_x86_u16.yml rename to .github/workflows/Build_wheels_for_cpython313t_x64_u18.yml index 5f11f4bda..8837a9839 100644 --- a/.github/workflows/Build_wheels_for_cpython313t_x86_u16.yml +++ b/.github/workflows/Build_wheels_for_cpython313t_x64_u18.yml @@ -1,4 +1,4 @@ -name: Build wheels for CPython3.13-nogil x86 on Ubuntu16 with GCC-5 All warnings +name: Build wheels for CPython3.13-nogil x64 on Ubuntu18 with GCC-7 All warnings on: [push, pull_request] @@ -14,20 +14,17 @@ jobs: fail-fast: false matrix: os: - - name: Ubuntu 24+16 i386 CPython 3.13-nogil + - name: Ubuntu 24+18 amd64 CPython 3.13-nogil runs-on: ubuntu-latest matrix: linux - arch: i386 - tag_arch: i686 - release: xenial + arch: amd64 + tag_arch: x86_64 + release: bionic mirror: http://azure.archive.ubuntu.com/ubuntu - #version: 1.5.6.7 - # pyver: "3.7" getpipurl: https://bootstrap.pypa.io/pip/get-pip.py pypkg: python3.13-nogil pypkgdev: python3.13-dev pypkgexe: python3.13t - #pypkgadd: python3.13-distutils pyengine_tag: cp313-cp313t libc_tag: manylinux_2_14 steps: @@ -69,11 +66,9 @@ jobs: echo " deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/python ubuntu-${{matrix.os.release}} main" > rusoft-python.list echo " deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/backports ubuntu-${{matrix.os.release}} main" > rusoft-backports.list echo " deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/packages ubuntu-${{matrix.os.release}} main" > rusoft-packages.list - echo " deb [trusted=yes] http://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu ${{matrix.os.release}} main" > deadsnakes.list - false && sudo find ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} -iname apt + echo "# deb [trusted=yes] http://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu ${{matrix.os.release}} main" > deadsnakes.list sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt update sudo cp -v ./*.list ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/etc/apt/sources.list.d - false && sudo rm -fv ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/etc/apt/trusted.gpg.d/* && sudo rm -fv ./ubuntu-xenial-x86/etc/apt/trusted.gpg sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c 'cd /etc/apt/trusted.gpg.d && wget http://packages.rusoft.ru/apt/public.gpg -Orusoft.gpg' sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c 'cd /etc/apt/trusted.gpg.d && wget http://packages.rusoft.ru/apt/public-old.gpg -Orusoft-old.gpg' sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c 'apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys A2CE4BCCC50209DD || true' @@ -101,11 +96,10 @@ jobs: version=`cat version` sudo mkdir -p ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/build_wheel/ sudo tar -xvf dist/zstd-$version.tar.gz -C ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/build_wheel/ - false && sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} env sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} pkg-config libzstd --modversion sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} echo GCC sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} gcc -v - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "cd /build_wheel/zstd-$version/ && ZSTD_ASM=1 ZSTD_WARNINGS=1 _ZSTD_SMALL=1 LDFLAGS='-Wl,--as-needed -Wl,-s' ZSTD_BUILD_STRIP=1 _ZSTD_SPEED=0 _ZSTD_SPEEDMAX=0 _ZSTD_ASM_BMI2=1 ZSTD_THREADS=1 _ZSTD_EXTERNAL=0 ${{matrix.os.pypkgexe}} setup.py bdist_wheel" + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "cd /build_wheel/zstd-$version/ && ZSTD_ASM=1 ZSTD_WARNINGS=1 _ZSTD_SMALL=1 LDFLAGS='-Wl,--as-needed -Wl,-s' ZSTD_BUILD_STRIP=1 _ZSTD_SPEED=0 _ZSTD_SPEEDMAX=0 _ZSTD_ASM_BMI2=1 ZSTD_THREADS=1 _ZSTD_EXTERNAL=0 ZS5D_WERRORS=1 ${{matrix.os.pypkgexe}} setup.py bdist_wheel" - name: Test wheel for ${{matrix.os.pypkg}} ${{matrix.os.arch}} if: matrix.os.matrix == 'linux' @@ -172,3 +166,14 @@ jobs: TWINE_PASSWORD: "${{ secrets.test_pypi_password }}" run: twine upload --non-interactive --skip-existing --verbose 'dist/*' + - name: Create Release and Upload Assets + if: > + startsWith(github.event.ref, 'refs/tags') && + steps.check_secrets.outputs.HAS_SECRET + # This uses a community action for creating and uploading to a release + uses: softprops/action-gh-release@v1 + with: + files: dist/*.whl + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # The default GITHUB_TOKEN has sufficient permissions \ No newline at end of file diff --git a/.github/workflows/Build_wheels_for_cpython313t_x86_u18.yml b/.github/workflows/Build_wheels_for_cpython313t_x86_u18.yml new file mode 100644 index 000000000..94080a4d2 --- /dev/null +++ b/.github/workflows/Build_wheels_for_cpython313t_x86_u18.yml @@ -0,0 +1,183 @@ +name: Build wheels for CPython3.13-nogil x86 on Ubuntu18 with GCC-7 All warnings + +on: [push, pull_request] + +concurrency: + group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}-${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && github.sha || '' }} + cancel-in-progress: true + +jobs: + build_wheels: + name: Build wheel - ${{ matrix.os.name }} + runs-on: ${{ matrix.os.runs-on }} + strategy: + fail-fast: false + matrix: + os: + - name: Ubuntu 24+18 i386 CPython 3.13-nogil + runs-on: ubuntu-latest + matrix: linux + arch: i386 + tag_arch: i686 + release: bionic + mirror: http://azure.archive.ubuntu.com/ubuntu + #version: 1.5.6.7 + # pyver: "3.7" + getpipurl: https://bootstrap.pypa.io/pip/get-pip.py + pypkg: python3.13-nogil + pypkgdev: python3.13-dev + pypkgexe: python3.13t + #pypkgadd: python3.13-distutils + pyengine_tag: cp313-cp313t + libc_tag: manylinux_2_4 + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + submodules: 'recursive' + + - name: Update and upgrade Ubuntu 24 + if: matrix.os.matrix == 'linux' + run: | + sudo which apt + sudo apt update; + sudo apt purge -y firefox lxd snapd; + sudo apt install -y zram-config; + sudo apt list --upgradable; + sudo apt upgrade -y; + sudo apt install -f + + - name: Build source distribution with Ubuntu + if: matrix.os.matrix == 'linux' + run: | + sudo apt install -y debootstrap qemu-user; + pip install build; + python -m build --sdist --outdir dist . + + - name: Debootstrap Ubuntu ${{matrix.os.release}} ${{matrix.os.arch}} + if: matrix.os.matrix == 'linux' + run: | + sudo debootstrap --no-merged-usr --verbose --include=sudo,wget,curl,gnupg,ca-certificates --arch=${{matrix.os.arch}} ${{matrix.os.release}} ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} ${{matrix.os.mirror}} || tail ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/debootstrap/debootstrap.log + + - name: Update and Upgrade Ubuntu ${{matrix.os.release}} + if: matrix.os.matrix == 'linux' + run: | + sudo mkdir -p ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/build_wheel + sudo mount none ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/proc -t proc + sudo mount none ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/dev/pts -t devpts + sudo mount none ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/sys -t sysfs + echo " deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/python ubuntu-${{matrix.os.release}} main" > rusoft-python.list + echo " deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/backports ubuntu-${{matrix.os.release}} main" > rusoft-backports.list + echo " deb [trusted=yes] http://packages.rusoft.ru/ppa/rusoft/packages ubuntu-${{matrix.os.release}} main" > rusoft-packages.list + echo "# deb [trusted=yes] http://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu ${{matrix.os.release}} main" > deadsnakes.list + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt update + sudo cp -v ./*.list ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/etc/apt/sources.list.d + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c 'cd /etc/apt/trusted.gpg.d && wget http://packages.rusoft.ru/apt/public.gpg -Orusoft.gpg' + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c 'cd /etc/apt/trusted.gpg.d && wget http://packages.rusoft.ru/apt/public-old.gpg -Orusoft-old.gpg' + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c 'apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys A2CE4BCCC50209DD || true' + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt update + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt upgrade -y + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt -fy install + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt upgrade -y + + + - name: Pepare dev files + if: matrix.os.matrix == 'linux' + run: | + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y libzstd-dev file + + - name: Pepare for ${{matrix.os.pypkg}} ${{matrix.os.arch}} + if: matrix.os.matrix == 'linux' + run: | + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y ${{matrix.os.pypkgdev}} ${{matrix.os.pypkg}} gcc pkg-config ${{matrix.os.pypkgadd}} + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "wget ${{matrix.os.getpipurl}} -O get-pip.py && ${{matrix.os.pypkgexe}} get-pip.py || true" + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "${{matrix.os.pypkgexe}} -m pip install -U 'setuptools<72.0'" + + - name: Pepare source and build wheel for ${{matrix.os.pypkgexe}} ${{matrix.os.arch}} + if: matrix.os.matrix == 'linux' + run: | + version=`cat version` + sudo mkdir -p ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/build_wheel/ + sudo tar -xvf dist/zstd-$version.tar.gz -C ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/build_wheel/ + false && sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} env + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} pkg-config libzstd --modversion + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} echo GCC + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} gcc -v + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "cd /build_wheel/zstd-$version/ && ZSTD_ASM=1 ZSTD_WARNINGS=1 _ZSTD_SMALL=1 ZSTD_BUILD_STRIP=1 _ZSTD_SPEED=0 _ZSTD_SPEEDMAX=0 _ZSTD_ASM_BMI2=1 ZSTD_THREADS=1 _ZSTD_EXTERNAL=0 ${{matrix.os.pypkgexe}} setup.py bdist_wheel" + + - name: Test wheel for ${{matrix.os.pypkg}} ${{matrix.os.arch}} + if: matrix.os.matrix == 'linux' + run: | + version=`cat version` + false && sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} find /build_wheel/ + sudo cp -v glibc-check.sh ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/build_wheel/zstd-$version/ + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "cd /build_wheel/zstd-$version/ && echo LLH; ls -lh build/lib*/zstd.*.so; ldd build/lib*/zstd.*.so ; file build/lib*/zstd.*.so; bash ./glibc-check.sh build/lib*/zstd.*.so" + + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "cd /build_wheel/zstd-$version/ && ${{matrix.os.pypkg}} setup.py test" + + - name: Pepare wheel for upload + if: matrix.os.matrix == 'linux' + run: | + version=`cat version` + sudo cp -v ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}}/build_wheel/zstd-$version/dist/* ./dist + sudo ls -lh ./dist/* + sudo mv -v ./dist/"zstd-$version-${{matrix.os.pyengine_tag}}-linux_${{matrix.os.tag_arch}}.whl" ./dist/"zstd-$version-${{matrix.os.pyengine_tag}}-${{matrix.os.libc_tag}}_${{matrix.os.tag_arch}}.whl" + + + - name: Test for secrets access + id: check_secrets + # If a third party makes a pull request + # this allows automated steps below to be skipped + # and leave a clean PR CI run + shell: bash + run: | + unset HAS_SECRET + unset HAS_SECRET_TEST + if [ -n "$SECRET" ]; then HAS_SECRET='true' ; fi + if [ -n "$SECRET_TEST" ]; then HAS_SECRET_TEST='true' ; fi + echo ::set-output name=HAS_SECRET::${HAS_SECRET} + echo ::set-output name=HAS_SECRET_TEST::${HAS_SECRET_TEST} + env: + SECRET: "${{ secrets.pypi_password }}" + SECRET_TEST: "${{ secrets.test_pypi_password }}" + + - name: Install twine + run: pip install 'twine<=6.0.1' + + - name: Publish distribution to PyPI + if: > + startsWith(github.event.ref, 'refs/tags') && + steps.check_secrets.outputs.HAS_SECRET + env: + # If the PR/Push has secret access + # and PYPI_PASSWORD is in GH Secrets for this repo + # and this is a tag, publish to PyPI + TWINE_REPOSITORY_URL: https://upload.pypi.org/legacy/ + TWINE_USERNAME: "${{ secrets.pypi_username }}" + TWINE_NON_INTERACTIVE: 1 + TWINE_PASSWORD: "${{ secrets.pypi_password }}" + run: twine upload --non-interactive --skip-existing --verbose 'dist/*' + + - name: Publish distribution to Test PyPI + if: steps.check_secrets.outputs.HAS_SECRET + env: + # If the PR/Push has secret access + # and TEST_PYPI_PASSWORD is in GH Secrets for this repo + # then publish each build to test PyPI + TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/ + TWINE_USERNAME: "${{ secrets.test_pypi_username }}" + TWINE_NON_INTERACTIVE: 1 + TWINE_PASSWORD: "${{ secrets.test_pypi_password }}" + run: twine upload --non-interactive --skip-existing --verbose 'dist/*' + + - name: Create Release and Upload Assets + if: > + startsWith(github.event.ref, 'refs/tags') && + steps.check_secrets.outputs.HAS_SECRET + # This uses a community action for creating and uploading to a release + uses: softprops/action-gh-release@v1 + with: + files: dist/*64*.tar.xz + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # The default GITHUB_TOKEN has sufficient permissions \ No newline at end of file diff --git a/.github/workflows/Build_wheels_for_cpython314_x86_64_u24.yml b/.github/workflows/Build_wheels_for_cpython314_x64_u18.yml similarity index 95% rename from .github/workflows/Build_wheels_for_cpython314_x86_64_u24.yml rename to .github/workflows/Build_wheels_for_cpython314_x64_u18.yml index 3a95409b2..04aa4648f 100644 --- a/.github/workflows/Build_wheels_for_cpython314_x86_64_u24.yml +++ b/.github/workflows/Build_wheels_for_cpython314_x64_u18.yml @@ -1,4 +1,4 @@ -name: Build wheels for CPython3.14 x86_64 on Ubuntu16 with GCC-5 All warnings +name: Build wheels for CPython3.14 amd64 on Ubuntu18 with GCC-7 All warnings on: [push, pull_request] @@ -14,12 +14,12 @@ jobs: fail-fast: false matrix: os: - - name: Ubuntu 24+16 amd64 CPython 3.14 + - name: Ubuntu 24+18 amd64 CPython 3.14 runs-on: ubuntu-latest matrix: linux arch: amd64 tag_arch: x86_64 - release: xenial + release: bionic mirror: http://azure.archive.ubuntu.com/ubuntu #version: 1.5.6.7 # pyver: "3.7" @@ -84,12 +84,13 @@ jobs: - name: Pepare dev files if: matrix.os.matrix == 'linux' run: | - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y libzstd-dev file + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y aptitude + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/aptitude install -y libzstd-dev file - name: Pepare for ${{matrix.os.pypkg}} ${{matrix.os.arch}} if: matrix.os.matrix == 'linux' run: | - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y ${{matrix.os.pypkg}}-dev gcc pkg-config ${{matrix.os.pypkgadd}} + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/aptitude install -y ${{matrix.os.pypkg}}-dev gcc pkg-config ${{matrix.os.pypkgadd}} sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "wget ${{matrix.os.getpipurl}} -O get-pip.py && ${{matrix.os.pypkg}} get-pip.py || true" sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "${{matrix.os.pypkg}} -m pip install -U 'setuptools<72.0'" diff --git a/.github/workflows/Build_wheels_for_cpython314_x86_u16.yml b/.github/workflows/Build_wheels_for_cpython314_x86_u18.yml similarity index 95% rename from .github/workflows/Build_wheels_for_cpython314_x86_u16.yml rename to .github/workflows/Build_wheels_for_cpython314_x86_u18.yml index d9974a334..623f018f2 100644 --- a/.github/workflows/Build_wheels_for_cpython314_x86_u16.yml +++ b/.github/workflows/Build_wheels_for_cpython314_x86_u18.yml @@ -1,4 +1,4 @@ -name: Build wheels for CPython3.14 x86 on Ubuntu16 with GCC-5 All warnings +name: Build wheels for CPython3.14 x86 on Ubuntu18 with GCC-7 All warnings on: [push, pull_request] @@ -14,17 +14,17 @@ jobs: fail-fast: false matrix: os: - - name: Ubuntu 24+16 x86 CPython 3.14 + - name: Ubuntu 24+18 x86 CPython 3.14 runs-on: ubuntu-latest matrix: linux arch: i386 tag_arch: i686 - release: xenial + release: bionic mirror: http://azure.archive.ubuntu.com/ubuntu getpipurl: https://bootstrap.pypa.io/pip/get-pip.py pypkg: python3.14 pyengine_tag: cp314-cp314 - libc_tag: manylinux_2_14 + libc_tag: manylinux_2_4 steps: - name: Checkout code uses: actions/checkout@v4 @@ -81,12 +81,13 @@ jobs: - name: Pepare dev files if: matrix.os.matrix == 'linux' run: | - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y libzstd-dev file + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y aptitude + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/aptitude install -y libzstd-dev file - name: Pepare for ${{matrix.os.pypkg}} ${{matrix.os.arch}} if: matrix.os.matrix == 'linux' run: | - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y ${{matrix.os.pypkg}}-dev gcc pkg-config ${{matrix.os.pypkgadd}} + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/aptitude install -y ${{matrix.os.pypkg}}-dev gcc pkg-config ${{matrix.os.pypkgadd}} sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "wget ${{matrix.os.getpipurl}} -O get-pip.py && ${{matrix.os.pypkg}} get-pip.py || true" sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "${{matrix.os.pypkg}} -m pip install -U 'setuptools<72.0'" diff --git a/.github/workflows/Build_wheels_for_cpython314t_x64_u16.yml b/.github/workflows/Build_wheels_for_cpython314t_x64_u18.yml similarity index 95% rename from .github/workflows/Build_wheels_for_cpython314t_x64_u16.yml rename to .github/workflows/Build_wheels_for_cpython314t_x64_u18.yml index f13e835f9..ea2d793ce 100644 --- a/.github/workflows/Build_wheels_for_cpython314t_x64_u16.yml +++ b/.github/workflows/Build_wheels_for_cpython314t_x64_u18.yml @@ -1,4 +1,4 @@ -name: Build wheels for CPython3.14-nogil x64 on Ubuntu16 with GCC-5 All warnings +name: Build wheels for CPython3.14-nogil x64 on Ubuntu18 with GCC-7 All warnings on: [push, pull_request] @@ -14,12 +14,12 @@ jobs: fail-fast: false matrix: os: - - name: Ubuntu 24+16 amd64 CPython 3.14-nogil + - name: Ubuntu 24+18 amd64 CPython 3.14-nogil runs-on: ubuntu-latest matrix: linux arch: amd64 tag_arch: x86_64 - release: xenial + release: bionic mirror: http://azure.archive.ubuntu.com/ubuntu #version: 1.5.6.7 # pyver: "3.7" @@ -86,12 +86,13 @@ jobs: - name: Pepare dev files if: matrix.os.matrix == 'linux' run: | - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y libzstd-dev file + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y aptitude + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/aptitude install -y libzstd-dev file - name: Pepare for ${{matrix.os.pypkg}} ${{matrix.os.arch}} if: matrix.os.matrix == 'linux' run: | - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y ${{matrix.os.pypkgdev}} ${{matrix.os.pypkg}} gcc pkg-config ${{matrix.os.pypkgadd}} + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/aptitude install -y ${{matrix.os.pypkgdev}} ${{matrix.os.pypkg}} gcc pkg-config ${{matrix.os.pypkgadd}} sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "wget ${{matrix.os.getpipurl}} -O get-pip.py && ${{matrix.os.pypkgexe}} get-pip.py || true" sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "${{matrix.os.pypkgexe}} -m pip install -U 'setuptools<72.0'" diff --git a/.github/workflows/Build_wheels_for_cpython314t_x86_u16.yml b/.github/workflows/Build_wheels_for_cpython314t_x86_u18.yml similarity index 95% rename from .github/workflows/Build_wheels_for_cpython314t_x86_u16.yml rename to .github/workflows/Build_wheels_for_cpython314t_x86_u18.yml index 32e6e0f92..16b6deee7 100644 --- a/.github/workflows/Build_wheels_for_cpython314t_x86_u16.yml +++ b/.github/workflows/Build_wheels_for_cpython314t_x86_u18.yml @@ -1,4 +1,4 @@ -name: Build wheels for CPython3.14-nogil x86 on Ubuntu16 with GCC-5 All warnings +name: Build wheels for CPython3.14-nogil x86 on Ubuntu18 with GCC-7 All warnings on: [push, pull_request] @@ -14,12 +14,12 @@ jobs: fail-fast: false matrix: os: - - name: Ubuntu 24+16 i386 CPython 3.14-nogil + - name: Ubuntu 24+18 i386 CPython 3.14-nogil runs-on: ubuntu-latest matrix: linux arch: i386 tag_arch: i686 - release: xenial + release: bionic mirror: http://azure.archive.ubuntu.com/ubuntu #version: 1.5.6.7 # pyver: "3.7" @@ -29,7 +29,7 @@ jobs: pypkgexe: python3.14t #pypkgadd: python3.13-distutils pyengine_tag: cp314-cp314t - libc_tag: manylinux_2_14 + libc_tag: manylinux_2_4 steps: - name: Checkout code uses: actions/checkout@v4 @@ -86,12 +86,13 @@ jobs: - name: Pepare dev files if: matrix.os.matrix == 'linux' run: | - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y libzstd-dev file + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y aptitude + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/aptitude install -y libzstd-dev file - name: Pepare for ${{matrix.os.pypkg}} ${{matrix.os.arch}} if: matrix.os.matrix == 'linux' run: | - sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/apt install -y ${{matrix.os.pypkgdev}} ${{matrix.os.pypkg}} gcc pkg-config ${{matrix.os.pypkgadd}} + sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /usr/bin/aptitude install -y ${{matrix.os.pypkgdev}} ${{matrix.os.pypkg}} gcc pkg-config ${{matrix.os.pypkgadd}} sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "wget ${{matrix.os.getpipurl}} -O get-pip.py && ${{matrix.os.pypkgexe}} get-pip.py || true" sudo chroot ./ubuntu-${{matrix.os.release}}-${{matrix.os.arch}} /bin/bash -c "${{matrix.os.pypkgexe}} -m pip install -U 'setuptools<72.0'" diff --git a/.github/workflows/Build_wheels_for_cpython315_x86_64_u16.yml b/.github/workflows/Build_wheels_for_cpython315_x86_64_u18.yml similarity index 98% rename from .github/workflows/Build_wheels_for_cpython315_x86_64_u16.yml rename to .github/workflows/Build_wheels_for_cpython315_x86_64_u18.yml index 975c02988..ed51eb085 100644 --- a/.github/workflows/Build_wheels_for_cpython315_x86_64_u16.yml +++ b/.github/workflows/Build_wheels_for_cpython315_x86_64_u18.yml @@ -1,4 +1,4 @@ -name: Build wheels for CPython3.15 x86_64 on Ubuntu16 with GCC-5 All warnings +name: Build wheels for CPython3.15 x86_64 on Ubuntu18 with GCC-7 All warnings on: [push, pull_request] @@ -14,12 +14,12 @@ jobs: fail-fast: false matrix: os: - - name: Ubuntu 24+16 amd64 CPython 3.15 + - name: Ubuntu 24+18 amd64 CPython 3.15 runs-on: ubuntu-latest matrix: linux arch: amd64 tag_arch: x86_64 - release: xenial + release: bionic mirror: http://azure.archive.ubuntu.com/ubuntu #version: 1.5.6.7 # pyver: "3.7" diff --git a/.github/workflows/Build_wheels_for_cpython315_x86_u16.yml b/.github/workflows/Build_wheels_for_cpython315_x86_u18.yml similarity index 98% rename from .github/workflows/Build_wheels_for_cpython315_x86_u16.yml rename to .github/workflows/Build_wheels_for_cpython315_x86_u18.yml index 4d96628b2..8aacbf40f 100644 --- a/.github/workflows/Build_wheels_for_cpython315_x86_u16.yml +++ b/.github/workflows/Build_wheels_for_cpython315_x86_u18.yml @@ -1,4 +1,4 @@ -name: Build wheels for CPython3.15 x86 on Ubuntu16 with GCC-5 All warnings +name: Build wheels for CPython3.15 x86 on Ubuntu18 with GCC-7 All warnings on: [push, pull_request] @@ -14,12 +14,12 @@ jobs: fail-fast: false matrix: os: - - name: Ubuntu 24+16 i686 CPython 3.15 + - name: Ubuntu 24+18 i686 CPython 3.15 runs-on: ubuntu-latest matrix: linux arch: i386 tag_arch: i686 - release: xenial + release: bionic mirror: http://azure.archive.ubuntu.com/ubuntu #version: 1.5.6.7 # pyver: "3.7" @@ -27,7 +27,7 @@ jobs: pypkg: python3.15 #pypkgadd: python3.13-distutils pyengine_tag: cp315-cp315 - libc_tag: manylinux_2_14 + libc_tag: manylinux_2_4 steps: - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/Build_wheels_for_cpython315t_x64_u16.yml b/.github/workflows/Build_wheels_for_cpython315t_x64_u18.yml similarity index 98% rename from .github/workflows/Build_wheels_for_cpython315t_x64_u16.yml rename to .github/workflows/Build_wheels_for_cpython315t_x64_u18.yml index 931574582..8d1c640cb 100644 --- a/.github/workflows/Build_wheels_for_cpython315t_x64_u16.yml +++ b/.github/workflows/Build_wheels_for_cpython315t_x64_u18.yml @@ -1,4 +1,4 @@ -name: Build wheels for CPython3.15-nogil x64 on Ubuntu16 with GCC-5 All warnings +name: Build wheels for CPython3.15-nogil x64 on Ubuntu18 with GCC-7 All warnings on: [push, pull_request] @@ -14,12 +14,12 @@ jobs: fail-fast: false matrix: os: - - name: Ubuntu 24+16 amd64 CPython 3.15-nogil + - name: Ubuntu 24+18 amd64 CPython 3.15-nogil runs-on: ubuntu-latest matrix: linux arch: amd64 tag_arch: x86_64 - release: xenial + release: bioic mirror: http://azure.archive.ubuntu.com/ubuntu #version: 1.5.6.7 # pyver: "3.7" diff --git a/.github/workflows/Build_wheels_for_cpython315t_x86_u16.yml b/.github/workflows/Build_wheels_for_cpython315t_x86_u18.yml similarity index 97% rename from .github/workflows/Build_wheels_for_cpython315t_x86_u16.yml rename to .github/workflows/Build_wheels_for_cpython315t_x86_u18.yml index e7e1bca9b..ae9eb6f0f 100644 --- a/.github/workflows/Build_wheels_for_cpython315t_x86_u16.yml +++ b/.github/workflows/Build_wheels_for_cpython315t_x86_u18.yml @@ -1,4 +1,4 @@ -name: Build wheels for CPython3.15-nogil x86 on Ubuntu16 with GCC-5 All warnings +name: Build wheels for CPython3.15-nogil x86 on Ubuntu18 with GCC-7 All warnings on: [push, pull_request] @@ -14,12 +14,12 @@ jobs: fail-fast: false matrix: os: - - name: Ubuntu 24+16 i386 CPython 3.15-nogil + - name: Ubuntu 24+18 i386 CPython 3.15-nogil runs-on: ubuntu-latest matrix: linux arch: i386 tag_arch: i686 - release: xenial + release: bionic mirror: http://azure.archive.ubuntu.com/ubuntu #version: 1.5.6.7 # pyver: "3.7" @@ -29,7 +29,7 @@ jobs: pypkgexe: python3.15t #pypkgadd: python3.13-distutils pyengine_tag: cp315-cp315t - libc_tag: manylinux_2_14 + libc_tag: manylinux_2_4 steps: - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/Build_wheels_for_cpython34_x86.yml b/.github/workflows/Build_wheels_for_cpython34_x86.yml index ba01e788a..c80a0509a 100644 --- a/.github/workflows/Build_wheels_for_cpython34_x86.yml +++ b/.github/workflows/Build_wheels_for_cpython34_x86.yml @@ -1,4 +1,4 @@ -name: Build wheels for CPython3.4 x86 on Ubuntu16 +name: Build wheels for CPython3.4 x86 on Ubuntu18 on: [push, pull_request] @@ -14,12 +14,12 @@ jobs: fail-fast: false matrix: os: - - name: Ubuntu 24+16 i386 CPython 3.4 + - name: Ubuntu 24+18 i386 CPython 3.4 runs-on: ubuntu-latest matrix: linux arch: i386 tag_arch: i686 - release: xenial + release: bionic mirror: http://azure.archive.ubuntu.com/ubuntu #version: 1.5.6.7 #pyver: "3.4" diff --git a/.github/workflows/Build_wheels_for_cpython34_x86_64.yml b/.github/workflows/Build_wheels_for_cpython34_x86_64.yml index 0946db31c..e2b5b851d 100644 --- a/.github/workflows/Build_wheels_for_cpython34_x86_64.yml +++ b/.github/workflows/Build_wheels_for_cpython34_x86_64.yml @@ -1,4 +1,4 @@ -name: Build wheels for CPython3.4 x86_64 on Ubuntu16 +name: Build wheels for CPython3.4 x86_64 on Ubuntu18 on: [push, pull_request] @@ -14,19 +14,19 @@ jobs: fail-fast: false matrix: os: - - name: Ubuntu 24+16 amd64 CPython 3.4 + - name: Ubuntu 24+18 amd64 CPython 3.4 runs-on: ubuntu-latest matrix: linux arch: amd64 tag_arch: x86_64 - release: xenial + release: bionic mirror: http://azure.archive.ubuntu.com/ubuntu #version: 1.5.6.7 #pyver: "3.4" getpipurl: https://bootstrap.pypa.io/pip/3.4/get-pip.py pypkg: python3.4 pyengine_tag: cp34-cp34m - libc_tag: manylinux_2_4 + libc_tag: manylinux_2_14 steps: - name: Checkout code uses: actions/checkout@v4 diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index df2e15184..c6b30a8c7 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -188,6 +188,8 @@ jobs: matrix: windows cibw: build: cp27-* + build: cp36-* + build: cp38-* - os: matrix: macos cibw: @@ -298,7 +300,7 @@ jobs: CIBW_BUILD: ${{ matrix.cibw.build }} CIBW_BUILD_VERBOSITY: 2 # Skip 32-bit builds // NO - # CIBW_SKIP: '*-win32 *_i686' + CIBW_SKIP: 'cp36-win* cp38-win*' CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.cibw.manylinux }} CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.cibw.manylinux }} CIBW_MUSLLINUX_I686_IMAGE: ${{ matrix.cibw.musllinux }} @@ -330,7 +332,7 @@ jobs: CIBW_BUILD: ${{ matrix.cibw.build }} CIBW_BUILD_VERBOSITY: 2 # Skip 32-bit builds // NO - # CIBW_SKIP: '*-win32 *_i686' + CIBW_SKIP: 'cp36-win* cp38-win*' CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.cibw.manylinux }} CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.cibw.manylinux }} CIBW_MANYLINUX_AARCH64_IMAGE: ${{ matrix.cibw.manylinux }} @@ -363,7 +365,7 @@ jobs: CIBW_BUILD: ${{ matrix.cibw.build }} CIBW_BUILD_VERBOSITY: 2 # Skip 32-bit builds // NO - # CIBW_SKIP: '*-win32 *_i686' + CIBW_SKIP: 'cp36-win* cp38-win*' CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.cibw.manylinux }} CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.cibw.manylinux }} CIBW_MANYLINUX_AARCH64_IMAGE: ${{ matrix.cibw.manylinux }}