Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAINT: stats: Work around Cython bug. #16719

Merged
merged 1 commit into from Jul 28, 2022
Merged

Conversation

WarrenWeckesser
Copy link
Member

Because of a bug in Cython, the inner function weigh() (a closure
in _weightedrankedtau()) cannot refer to the memoryview arguments
of _weightedrankedtau(). The work-around here is to assign the
arguments to local variables.

Closes gh-16718

Because of a bug in Cython, the inner function weigh() (a closure
in _weightedrankedtau()) cannot refer to the memoryview arguments
of _weightedrankedtau().  The work-around here is to assign the
arguments to local variables.

Closes scipygh-16718
@WarrenWeckesser WarrenWeckesser added scipy.stats maintenance Items related to regular maintenance tasks labels Jul 28, 2022
@tupui tupui added this to the 1.10.0 milestone Jul 28, 2022
@WarrenWeckesser
Copy link
Member Author

The failure of the Python 3.11 job appears to be the result of a dependency attempting to import the deprecated sre_constants Python module.

Copy link
Member

@tupui tupui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Warren, LGTM and yes failure is not related (not sure about it yet). Let's get this in now to go back to a usable CI.

@tupui tupui merged commit d1e5f1f into scipy:main Jul 28, 2022
@rgommers rgommers added the backport-candidate This fix should be ported by a maintainer to previous SciPy versions. label Jul 28, 2022
@rgommers
Copy link
Member

@tylerjereddy this needs backporting to 1.9.x to un-break building from source. I don't think it needs a new RC. Perhaps it makes sense to do this as soon as you have time and release 1.9.0 final?

@WarrenWeckesser WarrenWeckesser deleted the gh-16718 branch July 28, 2022 13:33
mdhaber pushed a commit to mdhaber/scipy that referenced this pull request Jul 28, 2022
Because of a bug in Cython, the inner function weigh() (a closure
in _weightedrankedtau()) cannot refer to the memoryview arguments
of _weightedrankedtau().  The work-around here is to assign the
arguments to local variables.
@tylerjereddy tylerjereddy modified the milestones: 1.10.0, 1.9.0 Jul 28, 2022
tylerjereddy pushed a commit to tylerjereddy/scipy that referenced this pull request Jul 28, 2022
Because of a bug in Cython, the inner function weigh() (a closure
in _weightedrankedtau()) cannot refer to the memoryview arguments
of _weightedrankedtau().  The work-around here is to assign the
arguments to local variables.
@tylerjereddy tylerjereddy removed the backport-candidate This fix should be ported by a maintainer to previous SciPy versions. label Jul 29, 2022
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Jul 29, 2022
    git clean -xdf
    tar zcvf ../python-scipy_1.5.4.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.5.4-1.spec
    mv ../python*-scipy*1.5.4*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.5.4/
    rm -rf ../python*-scipy*1.5.4*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Jul 29, 2022
    git clean -xdf
    git submodule sync
    git submodule update --init
    tar zcvf ../python-scipy_1.7.3.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.7.3-1.spec
    mv ../python*-scipy*1.7.3*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.7.3/
    rm -rf ../python*-scipy*1.7.3*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Jul 29, 2022
    git clean -xdf
    git submodule sync
    git submodule update --init
    tar zcvf ../python-scipy_1.8.0.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.8.0-1.spec
    mv ../python*-scipy*1.8.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.8.0/
    rm -rf ../python*-scipy*1.8.0*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Jul 29, 2022
    git clean -xdf
    git submodule sync
    git submodule update --init
    tar zcvf ../python-scipy_1.8.1.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.8.1-2.spec
    mv ../python*-scipy*1.8.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.8.1/
    rm -rf ../python*-scipy*1.8.1*.*

See scipy#15466
See scipy#16528
See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
@h-vetinari
Copy link
Member

Given that 0.29.32 was released, would it not be better to require cython!=0.29.31 and revert this? Not that the fix here is bad, it would accumulate less technical debt (if this is expected to be undone again with Cython 3.0).

hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Jul 29, 2022
    git clean -xdf
    tar zcvf ../python-scipy_1.5.4.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.5.4-1.spec
    mv ../python*-scipy*1.5.4*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.5.4/
    rm -rf ../python*-scipy*1.5.4*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Jul 29, 2022
    git clean -xdf
    git submodule sync
    git submodule update --init
    tar zcvf ../python-scipy_1.7.3.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.7.3-1.spec
    mv ../python*-scipy*1.7.3*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.7.3/
    rm -rf ../python*-scipy*1.7.3*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
@rgommers
Copy link
Member

This change seems fine, and it's already backported and merged - so no need to change anything I'd say. We don't expect to undo this with Cython 3.0 right, current code is fine as is?

hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Jul 29, 2022
    git clean -xdf
    git submodule sync
    git submodule update --init
    tar zcvf ../python-scipy_1.8.0.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.8.0-1.spec
    mv ../python*-scipy*1.8.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.8.0/
    rm -rf ../python*-scipy*1.8.0*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Jul 29, 2022
    git clean -xdf
    git submodule sync
    git submodule update --init
    tar zcvf ../python-scipy_1.8.1.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.8.1-2.spec
    mv ../python*-scipy*1.8.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.8.1/
    rm -rf ../python*-scipy*1.8.1*.*

See scipy#15466
See scipy#16528
See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
@h-vetinari
Copy link
Member

We don't expect to undo this with Cython 3.0 right, current code is fine as is?

The comment in the code here says: "When we can require Cython 3.0, y_local and rank_local can be removed, and the closure weigh() can refer directly to y and rank.", which sounds very much like undoing the change this PR is making. Given that the old code is now also unbroken with Cython 0.29, I think the question of undoing the quickfix arises naturally (even though it was of course very important in the short term).

@rgommers
Copy link
Member

@WarrenWeckesser any preference?

hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Jul 30, 2022
    git clean -xdf
    git submodule sync
    git submodule update --init
    tar zcvf ../python-scipy_1.8.0.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.8.0-1.spec
    mv ../python*-scipy*1.8.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.8.0/
    rm -rf ../python*-scipy*1.8.0*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Jul 30, 2022
    git clean -xdf
    git submodule sync
    git submodule update --init
    tar zcvf ../python-scipy_1.8.1.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.8.1-2.spec
    mv ../python*-scipy*1.8.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.8.1/
    rm -rf ../python*-scipy*1.8.1*.*

See scipy#15466
See scipy#16528
See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
@scoder
Copy link

scoder commented Jul 30, 2022

Wouldn't it be easier then to yank 0.29.31 from PyPI @scoder? Then no other project has to bother with adding a != 0.29.31 constraint. Now that 0.29.32 is out, that is perfectly fine to do, can't break anything.

The release has been yanked.

@rgommers
Copy link
Member

Thanks @scoder!

@WarrenWeckesser WarrenWeckesser added the Cython Issues with the internal Cython code base label Aug 24, 2022
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Oct 17, 2022
    git clean -xdf
    tar zcvf ../python-scipy_1.5.4.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.5.4-1.spec
    mv ../python*-scipy*1.5.4*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.5.4/
    rm -rf ../python*-scipy*1.5.4*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Oct 17, 2022
    git clean -xdf
    git submodule sync
    git submodule update --init
    tar zcvf ../python-scipy_1.7.3.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.7.3-1.spec
    mv ../python*-scipy*1.7.3*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.7.3/
    rm -rf ../python*-scipy*1.7.3*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Oct 17, 2022
    git clean -xdf
    git submodule sync
    git submodule update --init
    tar zcvf ../python-scipy_1.8.0.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.8.0-1.spec
    mv ../python*-scipy*1.8.0*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.8.0/
    rm -rf ../python*-scipy*1.8.0*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Oct 17, 2022
    git clean -xdf
    git submodule sync
    git submodule update --init
    tar zcvf ../python-scipy_1.8.1.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.8.1-2.spec
    mv ../python*-scipy*1.8.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.8.1/
    rm -rf ../python*-scipy*1.8.1*.*

See scipy#15466
See scipy#16528
See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Feb 13, 2023
    git clean -xdf
    git submodule sync
    git submodule update --init
    tar zcvf ../python-scipy_1.7.3.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.7.3-1.spec
    mv ../python*-scipy*1.7.3*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.7.3/
    rm -rf ../python*-scipy*1.7.3*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Feb 13, 2023
    git clean -xdf
    tar zcvf ../python-scipy_1.5.4.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.5.4-1.spec
    mv ../python*-scipy*1.5.4*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.5.4/
    rm -rf ../python*-scipy*1.5.4*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Feb 13, 2023
    git clean -xdf
    git submodule sync
    git submodule update --init
    tar zcvf ../python-scipy_1.8.1.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.8.1-2.spec
    mv ../python*-scipy*1.8.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.8.1/
    rm -rf ../python*-scipy*1.8.1*.*

See scipy#15466
See scipy#16528
See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Dec 24, 2023
    git clean -xdf
    tar zcvf ../python-scipy_1.5.4.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.5.4-1.spec
    cp ../python*-scipy*1.5.4*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.5.4/
    rm -rf ../python*-scipy*1.5.4*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Dec 24, 2023
    git clean -xdf
    tar zcvf ../python-scipy_1.5.4.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.5.4-1.spec
    cp ../python*-scipy*1.5.4*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.5.4/
    rm -rf ../python*-scipy*1.5.4*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Dec 24, 2023
    git clean -xdf
    tar zcvf ../python-scipy_1.5.4.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.5.4-1.spec
    cp ../python*-scipy*1.5.4*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.5.4/
    rm -rf ../python*-scipy*1.5.4*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Dec 24, 2023
    git clean -xdf
    tar zcvf ../python-scipy_1.5.4.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.5.4-1.spec
    cp ../python*-scipy*1.5.4*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.5.4/
    rm -rf ../python*-scipy*1.5.4*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Dec 24, 2023
    git clean -xdf
    tar zcvf ../python-scipy_1.5.4.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.5.4-1.spec
    cp ../python*-scipy*1.5.4*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.5.4/
    rm -rf ../python*-scipy*1.5.4*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Dec 24, 2023
    git clean -xdf
    tar zcvf ../python-scipy_1.5.4.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.5.4-1.spec
    cp ../python*-scipy*1.5.4*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.5.4/
    rm -rf ../python*-scipy*1.5.4*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Dec 25, 2023
    git clean -xdf
    tar zcvf ../python-scipy_1.5.4.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.5.4-1.spec
    cp ../python*-scipy*1.5.4*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.5.4/
    rm -rf ../python*-scipy*1.5.4*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Dec 25, 2023
    git clean -xdf
    git submodule sync
    git submodule update --init
    tar zcvf ../python-scipy_1.7.3.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.7.3-1.spec
    cp ../python*-scipy*1.7.3*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.7.3/
    rm -rf ../python*-scipy*1.7.3*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Dec 25, 2023
    git clean -xdf
    tar zcvf ../python-scipy_1.5.4.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.5.4-1.spec
    cp ../python*-scipy*1.5.4*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.5.4/
    rm -rf ../python*-scipy*1.5.4*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Dec 25, 2023
    git clean -xdf
    git submodule sync
    git submodule update --init
    tar zcvf ../python-scipy_1.8.1.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.8.1-2.spec
    cp ../python*-scipy*1.8.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.8.1/
    rm -rf ../python*-scipy*1.8.1*.*

See scipy#15466
See scipy#16528
See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Dec 31, 2023
    git clean -xdf
    tar zcvf ../python-scipy_1.5.4.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.5.4-1.spec
    cp ../python*-scipy*1.5.4*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.5.4/
    rm -rf ../python*-scipy*1.5.4*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Dec 31, 2023
    git clean -xdf
    git submodule sync
    git submodule update --init
    tar zcvf ../python-scipy_1.8.1.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.8.1-2.spec
    cp ../python*-scipy*1.8.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.8.1/
    rm -rf ../python*-scipy*1.8.1*.*

See scipy#15466
See scipy#16528
See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Dec 31, 2023
    git clean -xdf
    git submodule sync
    git submodule update --init
    tar zcvf ../python-scipy_1.7.3.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.7.3-1.spec
    cp ../python*-scipy*1.7.3*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.7.3/
    rm -rf ../python*-scipy*1.7.3*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Dec 31, 2023
    git clean -xdf
    git submodule sync
    git submodule update --init
    tar zcvf ../python-scipy_1.7.3.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.7.3-1.spec
    cp ../python*-scipy*1.7.3*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.7.3/
    rm -rf ../python*-scipy*1.7.3*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Dec 31, 2023
    git clean -xdf
    git submodule sync
    git submodule update --init
    tar zcvf ../python-scipy_1.7.3.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.7.3-1.spec
    cp ../python*-scipy*1.7.3*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.7.3/
    rm -rf ../python*-scipy*1.7.3*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Feb 24, 2024
    git clean -xdf
    git submodule sync
    git submodule update --init
    tar zcvf ../python-scipy_1.8.1.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.8.1-2.spec
    cp ../python*-scipy*1.8.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.8.1/
    rm -rf ../python*-scipy*1.8.1*.*

See scipy#15466
See scipy#16528
See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Feb 24, 2024
    git clean -xdf
    git submodule sync
    git submodule update --init
    tar zcvf ../python-scipy_1.7.3.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.7.3-1.spec
    cp ../python*-scipy*1.7.3*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.7.3/
    rm -rf ../python*-scipy*1.7.3*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
hswong3i added a commit to alvistack/scipy-scipy that referenced this pull request Feb 24, 2024
    git clean -xdf
    tar zcvf ../python-scipy_1.5.4.orig.tar.gz --exclude=.git .
    debuild -uc -us
    cp python-scipy.spec ../python-scipy_1.5.4-1.spec
    cp ../python*-scipy*1.5.4*.{gz,xz,spec,dsc} /osc/home\:alvistack/scipy-scipy-1.5.4/
    rm -rf ../python*-scipy*1.5.4*.*

See scipy#16719

Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cython Issues with the internal Cython code base maintenance Items related to regular maintenance tasks scipy.stats
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: memoryview error with Cython 0.29.31
6 participants