public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /, .github/workflows/
@ 2022-11-19 16:59 Arthur Zamarin
  0 siblings, 0 replies; 4+ messages in thread
From: Arthur Zamarin @ 2022-11-19 16:59 UTC (permalink / raw
  To: gentoo-commits

commit:     5fd8dcad9d55cdc1c98a3cd93c82e324e486bdc0
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 14 20:42:05 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 19 16:49:38 2022 +0000
URL:        https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=5fd8dcad

release: cleaner and cross support

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .github/workflows/manylinux.sh | 20 --------------------
 .github/workflows/release.yml  | 19 ++++++++++++-------
 pyproject.toml                 | 36 ++++++++++++++++++++++++++++++++++++
 3 files changed, 48 insertions(+), 27 deletions(-)

diff --git a/.github/workflows/manylinux.sh b/.github/workflows/manylinux.sh
deleted file mode 100755
index c56892aa..00000000
--- a/.github/workflows/manylinux.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-# Mangle the manylinux docker image to successfully build and test wheels.
-
-set -ex
-
-# install git
-if command -v apk; then
-    apk add --no-cache git bash py3-lxml
-elif command -v yum; then
-    yum update -y
-    yum install -y libxslt-devel libxml2-devel python-devel
-else
-    apt-get update
-    apt-get install -y git libxml2-dev libxslt-dev python-dev
-fi
-
-# download static build of recent bash release
-URL="https://github.com/robxu9/bash-static/releases/download/5.1.016-1.2.3/bash-linux-${1:-x86_64}"
-curl -L "$URL" > /usr/local/bin/bash
-chmod +x /usr/local/bin/bash

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 4ffd6f50..6de38945 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -47,21 +47,26 @@ jobs:
 
   build-wheel:
     runs-on: ubuntu-latest
+    strategy:
+      fail-fast: false
+      matrix:
+        arch: [x86_64, aarch64, ppc64le, s390x]
+
     steps:
     - name: Checkout code
       uses: actions/checkout@v3
 
+    - name: Set up QEMU
+      uses: docker/setup-qemu-action@v2
+      with:
+        platforms: ${{matrix.arch}}
+
     - name: Build wheels
-      uses: joerick/cibuildwheel@v2.10.0
+      uses: joerick/cibuildwheel@v2.11.2
       with:
         output-dir: dist
       env:
-        CIBW_BUILD: cp310-*
-        CIBW_ARCHS_LINUX: x86_64
-        CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_24
-        CIBW_BEFORE_BUILD: "{project}/.github/workflows/manylinux.sh && pip install '{project}'"
-        CIBW_BEFORE_TEST: pip install '{project}[test]'
-        CIBW_TEST_COMMAND: pytest {project}/tests
+        CIBW_ARCHS_LINUX: ${{matrix.arch}}
 
     - name: Upload wheel artifacts
       uses: actions/upload-artifact@v3

diff --git a/pyproject.toml b/pyproject.toml
index bb6410bc..6245024e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -77,3 +77,39 @@ version = {attr = "pkgcheck.__version__"}
 minversion = "6.0"
 addopts = "-vv -ra -l"
 testpaths = ["tests"]
+
+[tool.cibuildwheel]
+build = "cp310-*"
+build-frontend = "build"
+
+before-build = [
+	"rm -f {project}/src/pkgcheck/bash/lang.so"
+]
+test-requires = ["pytest", "requests"]
+test-command = "pytest {project}/tests"
+
+# glibc 2.24
+manylinux-x86_64-image = "manylinux_2_24"
+manylinux-i686-image = "manylinux_2_24"
+manylinux-aarch64-image = "manylinux_2_24"
+manylinux-ppc64le-image = "manylinux_2_24"
+manylinux-s390x-image = "manylinux_2_24"
+test-skip = "*-*linux_{aarch64,ppc64le,s390x}"
+
+[[tool.cibuildwheel.overrides]]
+select = "*-musllinux*"
+before-all = [
+	"apk add --no-cache git bash libxml2-dev libxslt-dev",
+]
+
+[[tool.cibuildwheel.overrides]]
+select = "*-manylinux*"
+before-all = [
+	"apt-get update",
+	"apt-get install -y git libxml2-dev libxslt-dev",
+	# "yum update -y",
+	# "yum install -y git libxslt-devel libxml2-devel",
+
+	"curl -L \"https://github.com/robxu9/bash-static/releases/download/5.1.016-1.2.3/bash-linux-$(uname -m)\" -o /usr/local/bin/bash",
+	"chmod +x /usr/local/bin/bash",
+]


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /, .github/workflows/
@ 2024-01-25 19:18 Arthur Zamarin
  0 siblings, 0 replies; 4+ messages in thread
From: Arthur Zamarin @ 2024-01-25 19:18 UTC (permalink / raw
  To: gentoo-commits

commit:     39fe80bdea376594a06ee646a68bf52a130fdced
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 25 18:04:12 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 25 19:15:29 2024 +0000
URL:        https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=39fe80bd

pyproject.toml: fix build in cibuildwheel

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .github/workflows/release.yml | 2 +-
 pyproject.toml                | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 5053cbed..769d7606 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -62,7 +62,7 @@ jobs:
         platforms: ${{matrix.arch}}
 
     - name: Build wheels
-      uses: joerick/cibuildwheel@v2.11.2
+      uses: joerick/cibuildwheel@v2.16.2
       with:
         output-dir: dist
       env:

diff --git a/pyproject.toml b/pyproject.toml
index c8f59a16..29a19feb 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -115,9 +115,9 @@ select = "*-manylinux*"
 before-all = [
 	# "apt-get update",
 	# "apt-get install -y git libxml2-dev libxslt-dev",
-	"yum update -y",
-	"yum install -y git libxslt-devel libxml2-devel",
+	"yum update -y --nogpgcheck",
+	"yum install -y --nogpgcheck git libxslt-devel libxml2-devel",
 
-	"curl -L \"https://github.com/robxu9/bash-static/releases/download/5.1.016-1.2.3/bash-linux-$(uname -m)\" -o /usr/local/bin/bash",
+	"curl -L \"https://github.com/robxu9/bash-static/releases/download/5.2.015-1.2.3-2/bash-linux-$(uname -m)\" -o /usr/local/bin/bash",
 	"chmod +x /usr/local/bin/bash",
 ]


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /, .github/workflows/
@ 2024-01-26  8:27 Arthur Zamarin
  0 siblings, 0 replies; 4+ messages in thread
From: Arthur Zamarin @ 2024-01-26  8:27 UTC (permalink / raw
  To: gentoo-commits

commit:     a29f96f39bdba2c3747e6f52d3a413cb9fe8865f
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 26 08:26:58 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 26 08:26:58 2024 +0000
URL:        https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=a29f96f3

release: drop ppc64le & s390x

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .github/workflows/release.yml | 2 +-
 pyproject.toml                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 769d7606..a1de7e0c 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -50,7 +50,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        arch: [x86_64, aarch64, ppc64le, s390x]
+        arch: [x86_64, aarch64]
 
     steps:
     - name: Checkout code

diff --git a/pyproject.toml b/pyproject.toml
index 29a19feb..0327d01f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -18,7 +18,7 @@ name = "pkgcheck"
 description = "pkgcore-based QA utility for ebuild repos"
 readme = "README.rst"
 license = {file = "LICENSE"}
-requires-python = "~=3.9"
+requires-python = "~=3.10"
 # alphabetical by surname.
 authors = [
 	{name = "Michał Górny", email = "mgorny@gentoo.org"},


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /, .github/workflows/
@ 2024-07-19 11:05 Arthur Zamarin
  0 siblings, 0 replies; 4+ messages in thread
From: Arthur Zamarin @ 2024-07-19 11:05 UTC (permalink / raw
  To: gentoo-commits

commit:     603c5d1ad86e2f98443c4650f4cf600ffd8ff8e0
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 19 10:49:59 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 19 11:04:18 2024 +0000
URL:        https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=603c5d1a

ci: test on py3.13

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .github/workflows/test.yml | 4 ++++
 pyproject.toml             | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 328e7ca3..cf0b5031 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -17,6 +17,10 @@ jobs:
         deps: [newest-deps]
         experimental: [false]
         include:
+          - os: ubuntu-latest
+            python-version: '3.13-dev'
+            deps: newest-deps
+            experimental: true
           - os: ubuntu-latest
             python-version: '3.11'
             deps: minimal-deps

diff --git a/pyproject.toml b/pyproject.toml
index 7b737347..0b7e20fd 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -36,6 +36,8 @@ classifiers = [
 	"Programming Language :: Python :: 3.10",
 	"Programming Language :: Python :: 3.11",
 	"Programming Language :: Python :: 3.12",
+	"Programming Language :: Python :: 3.13",
+	"Topic :: Software Development :: Quality Assurance",
 ]
 dynamic = ["version"]
 


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-19 11:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-25 19:18 [gentoo-commits] proj/pkgcore/pkgcheck:master commit in: /, .github/workflows/ Arthur Zamarin
  -- strict thread matches above, loose matches on Subject: below --
2024-07-19 11:05 Arthur Zamarin
2024-01-26  8:27 Arthur Zamarin
2022-11-19 16:59 Arthur Zamarin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox