44
44
45
45
env :
46
46
# Ubuntu packages to install so that the project's "make dist" can succeed
47
- DIST_PREREQ : libmpfr-dev
47
+ DIST_PREREQ :
48
48
# Name of this project in the Sage distribution
49
49
SPKG : python_flint
50
50
# Standard setting: Test the current beta release of Sage:
@@ -64,14 +64,10 @@ jobs:
64
64
sudo DEBIAN_FRONTEND=noninteractive apt-get update
65
65
sudo DEBIAN_FRONTEND=noninteractive apt-get install $DIST_PREREQ
66
66
if : env.DIST_PREREQ != ''
67
- - uses : actions/setup-python@v5
68
- with :
69
- python-version : ' 3.10'
70
- - run : pip install build
71
67
- name : Run make dist, prepare upstream artifact
72
68
run : |
73
- (cd build/pkgs/${{ env.SPKG }}/src && python -m build --sdist ) \
74
- && mkdir -p upstream && cp build/pkgs/${{ env.SPKG }}/src/dist/ *.tar.gz upstream/${{ env.SPKG }}-git.tar.gz \
69
+ (cd build/pkgs/${{ env.SPKG }}/src && git archive --format=tar.gz --prefix=${{ env.SPKG }}-git/ HEAD > ${{ env.SPKG }}-git.tar.gz ) \
70
+ && mkdir -p upstream && cp build/pkgs/${{ env.SPKG }}/src/*.tar.gz upstream/${{ env.SPKG }}-git.tar.gz \
75
71
&& echo "sage-package create ${{ env.SPKG }} --version git --tarball ${{ env.SPKG }}-git.tar.gz --type=standard" > upstream/update-pkgs.sh \
76
72
&& if [ -n "${{ env.REMOVE_PATCHES }}" ]; then echo "(cd ../build/pkgs/${{ env.SPKG }}/patches && rm -f ${{ env.REMOVE_PATCHES }}; :)" >> upstream/update-pkgs.sh; fi \
77
73
&& ls -l upstream/
87
83
targets : SAGE_CHECK=no SAGE_CHECK_flint=warn SAGE_CHECK_python_flint=yes python_flint
88
84
# Standard setting: Test the current beta release of Sage:
89
85
sage_repo : sagemath/sage
90
- sage_ref : refs/pull/37224 /head
86
+ sage_ref : refs/pull/38340 /head
91
87
# sage_ref: develop
92
88
upstream_artifact : upstream
93
89
# Docker targets (stages) to tag
@@ -106,7 +102,7 @@ jobs:
106
102
targets : SAGE_CHECK=no SAGE_CHECK_flint=warn SAGE_CHECK_python_flint=yes python_flint
107
103
# Standard setting: Test the current beta release of Sage:
108
104
sage_repo : sagemath/sage
109
- sage_ref : refs/pull/37224 /head
105
+ sage_ref : refs/pull/38340 /head
110
106
# sage_ref: develop
111
107
upstream_artifact : upstream
112
108
needs : [dist]
0 commit comments