sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.35k stars 461 forks source link

Meta-ticket: CI workflows for upstream projects using Sage reusable workflows #33338

Open mkoeppe opened 2 years ago

mkoeppe commented 2 years ago

Deployments of the Sage portability CI and wheel-building workflows

and other integrations in upstream projects

Upstream project Status Update
4ti2/4ti2 ci-sage
dimpase/primecountpy ci-sage ci-sage ci-sage
discopt/cmr ci-sage
flintlib/python-flint ci-sage 2024-02
ipython/ipython (sagemath-repl) downstream https://github.com/ipython/ipython/pull/14317
kimwalisch/primecount ci-sage needs update
kimwalisch/primesieve removed by upstream
latte-int/latte ci-sage
linbox-team/fflas-ffpack ci-sage 2024-01
mesonbuild/meson-python replaced by handwritten Dockerfiles in https://github.com/mesonbuild/meson-python/pull/241 2022-12
Normaliz/Normaliz ci-sage https://github.com/Normaliz/Normaliz/pull/424
Normaliz/PyNormaliz ci-sage
pypa/setuptools ci-sage https://github.com/pypa/setuptools/pull/4203
sagemath/cypari2 main
sagemath/cysignals ci-sage
sagemath/sage ci-linux ci-macos
sagemath/sage-numerical-backends-coin ci-sage ci-sage
scipopt/SCIP-SDP ci-sage https://github.com/scipopt/SCIP-SDP/pull/9; needs updating after #37237 is merged
Singular/Singular ci-sage https://github.com/Singular/Singular/pull/1229
sympy/sympy ci-sage

Refactoring techniques:

Tickets:

Part of:

References:

Depends on #33062

CC: @tobiasdiez @dimpase @saraedum

Component: porting

Issue created by migration from https://trac.sagemath.org/ticket/33338

mkoeppe commented 2 years ago

Description changed:

--- 
+++ 
@@ -15,4 +15,5 @@
 - reusable workflows in the main Sage repo - https://docs.github.com/en/actions/learn-github-actions/reusing-workflows
 - reusable workflows in a different repo.

-
+References:
+-  https://github.com/pypa/setuptools/pull/2923#discussion_r795977169
mkoeppe commented 2 years ago

Description changed:

--- 
+++ 
@@ -15,5 +15,9 @@
 - reusable workflows in the main Sage repo - https://docs.github.com/en/actions/learn-github-actions/reusing-workflows
 - reusable workflows in a different repo.

+Part of:
+- #29146 Meta-ticket: Refactor and improve system package related scripts, `tox.ini`, `build/bin/write_dockerfile.sh`
+- #29060 Meta-ticket: Add `Dockerfile`s and CI scripts for integration testing of source and binary distributions and of downstream packages
+
 References:
 -  https://github.com/pypa/setuptools/pull/2923#discussion_r795977169
mkoeppe commented 2 years ago

Description changed:

--- 
+++ 
@@ -7,6 +7,10 @@
 - https://github.com/4ti2/4ti2/blob/master/.github/workflows/ci-sage.yml
 - https://github.com/wbhart/flint2/blob/flint-2.8/.github/workflows/ci-sage.yml
 - https://github.com/fredrik-johansson/arb/blob/master/.github/workflows/ci-sage.yml
+- https://github.com/linbox-team/fflas-ffpack/blob/master/.github/workflows/ci-sage.yml
+- https://github.com/kimwalisch/primesieve/blob/master/.github/workflows/ci-sage.yml
+- https://github.com/kimwalisch/primecount/blob/master/.github/workflows/ci-sage.yml
+- https://github.com/dimpase/primecountpy/tree/master/.github/workflows
 - ...

 We refactor them using a combination of 
mkoeppe commented 2 years ago

Description changed:

--- 
+++ 
@@ -19,6 +19,9 @@
 - reusable workflows in the main Sage repo - https://docs.github.com/en/actions/learn-github-actions/reusing-workflows
 - reusable workflows in a different repo.

+Tickets:
+- #29919 Restore "huge" package type
+
 Part of:
 - #29146 Meta-ticket: Refactor and improve system package related scripts, `tox.ini`, `build/bin/write_dockerfile.sh`
 - #29060 Meta-ticket: Add `Dockerfile`s and CI scripts for integration testing of source and binary distributions and of downstream packages
tobiasdiez commented 2 years ago

Description changed:

--- 
+++ 
@@ -18,6 +18,11 @@
 - new top-level `SAGE_ROOT/Makefile` targets; 
 - reusable workflows in the main Sage repo - https://docs.github.com/en/actions/learn-github-actions/reusing-workflows
 - reusable workflows in a different repo.
+- problem matchers:
+  - https://github.com/actions/toolkit/blob/main/docs/problem-matchers.md
+  - https://github.com/actions/toolkit/blob/main/docs/commands.md#problem-matchers
+  - Example: https://github.com/actions/setup-python/blob/main/.github/python.json
+  - More examples: https://github.com/juftin/lunchable/tree/main/.github/matchers

 Tickets:
 - #29919 Restore "huge" package type
tobiasdiez commented 2 years ago

Description changed:

--- 
+++ 
@@ -22,7 +22,7 @@
   - https://github.com/actions/toolkit/blob/main/docs/problem-matchers.md
   - https://github.com/actions/toolkit/blob/main/docs/commands.md#problem-matchers
   - Example: https://github.com/actions/setup-python/blob/main/.github/python.json
-  - More examples: https://github.com/juftin/lunchable/tree/main/.github/matchers
+  - More examples: https://github.com/juftin/lunchable/tree/main/.github/matchers, https://github.com/python/cpython/tree/main/.github/problem-matchers

 Tickets:
 - #29919 Restore "huge" package type
mkoeppe commented 2 years ago
comment:8

33791 does this for cygwin

mkoeppe commented 2 years ago

Description changed:

--- 
+++ 
@@ -11,6 +11,7 @@
 - https://github.com/kimwalisch/primesieve/blob/master/.github/workflows/ci-sage.yml
 - https://github.com/kimwalisch/primecount/blob/master/.github/workflows/ci-sage.yml
 - https://github.com/dimpase/primecountpy/tree/master/.github/workflows
+- https://github.com/latte-int/latte/blob/master/.github/workflows/ci-sage.yml
 - ...

 We refactor them using a combination of 
mkoeppe commented 2 years ago

Description changed:

--- 
+++ 
@@ -13,6 +13,9 @@
 - https://github.com/dimpase/primecountpy/tree/master/.github/workflows
 - https://github.com/latte-int/latte/blob/master/.github/workflows/ci-sage.yml
 - ...
+
+PRs:
+- https://github.com/fricas/fricas/pull/102

 We refactor them using a combination of 
 - scripts in `SAGE_ROOT/.ci/`; 
mkoeppe commented 2 years ago

Description changed:

--- 
+++ 
@@ -12,10 +12,13 @@
 - https://github.com/kimwalisch/primecount/blob/master/.github/workflows/ci-sage.yml
 - https://github.com/dimpase/primecountpy/tree/master/.github/workflows
 - https://github.com/latte-int/latte/blob/master/.github/workflows/ci-sage.yml
+- https://github.com/sagemath/cysignals/blob/main/.github/workflows/ci-sage.yml
 - ...

 PRs:
 - https://github.com/fricas/fricas/pull/102
+- https://github.com/fredrik-johansson/arb/pull/434
+- https://github.com/wbhart/flint2/pull/1166

 We refactor them using a combination of 
 - scripts in `SAGE_ROOT/.ci/`; 
mkoeppe commented 2 years ago

Description changed:

--- 
+++ 
@@ -12,7 +12,6 @@
 - https://github.com/kimwalisch/primecount/blob/master/.github/workflows/ci-sage.yml
 - https://github.com/dimpase/primecountpy/tree/master/.github/workflows
 - https://github.com/latte-int/latte/blob/master/.github/workflows/ci-sage.yml
-- https://github.com/sagemath/cysignals/blob/main/.github/workflows/ci-sage.yml
 - ...

 PRs:
mkoeppe commented 2 years ago

Description changed:

--- 
+++ 
@@ -32,6 +32,8 @@

 Tickets:
 - #29919 Restore "huge" package type
+- #33791 ci-cygwin: Refactor using reusable workflows
+- #34115 tox.yml: Refactor using reusable workflows

 Part of:
 - #29146 Meta-ticket: Refactor and improve system package related scripts, `tox.ini`, `build/bin/write_dockerfile.sh`
mkoeppe commented 2 years ago

Description changed:

--- 
+++ 
@@ -18,6 +18,7 @@
 - https://github.com/fricas/fricas/pull/102
 - https://github.com/fredrik-johansson/arb/pull/434
 - https://github.com/wbhart/flint2/pull/1166
+- https://github.com/FFY00/meson-python/pull/133

 We refactor them using a combination of 
 - scripts in `SAGE_ROOT/.ci/`; 
mkoeppe commented 2 years ago

Description changed:

--- 
+++ 
@@ -12,13 +12,13 @@
 - https://github.com/kimwalisch/primecount/blob/master/.github/workflows/ci-sage.yml
 - https://github.com/dimpase/primecountpy/tree/master/.github/workflows
 - https://github.com/latte-int/latte/blob/master/.github/workflows/ci-sage.yml
+- https://github.com/FFY00/meson-python/blob/main/.github/workflows/ci-sage.yml
 - ...

 PRs:
 - https://github.com/fricas/fricas/pull/102
 - https://github.com/fredrik-johansson/arb/pull/434
 - https://github.com/wbhart/flint2/pull/1166
-- https://github.com/FFY00/meson-python/pull/133

 We refactor them using a combination of 
 - scripts in `SAGE_ROOT/.ci/`; 
mkoeppe commented 1 year ago

Description changed:

--- 
+++ 
@@ -19,6 +19,8 @@
 - https://github.com/fricas/fricas/pull/102
 - https://github.com/fredrik-johansson/arb/pull/434
 - https://github.com/wbhart/flint2/pull/1166
+- https://github.com/scipopt/PySCIPOpt/pull/630
+- https://github.com/scipopt/SCIP-SDP/pull/4

 We refactor them using a combination of 
 - scripts in `SAGE_ROOT/.ci/`; 
mkoeppe commented 1 year ago

@dimpase This is the master list of the ci-sage deployments. You are right in https://groups.google.com/g/sage-devel/c/fOTkNoU02Oo/m/s299hrXjBgAJ that some of them need updating.