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: additional SciPy 1.5.2 backports #12596

Conversation

tylerjereddy
Copy link
Contributor

  • the first attempt at building wheels for SciPy 1.5.2 failed, so a few more backports are added here:
  1. BLD: Add -std=c99 to sigtools to compile with C99 #12586
  2. CI: Add GCC 4.8 entry to travis build matrix #12590 (merge conflicts cc @peterbell10 -- tons of differences in Travis CI config already..)
  3. BLD: fix cython error on master-branch cython #12591 (merge conflicts cc @nmayorov -- there's an seq.encode() before/after difference vs. master I think)
  • non-trivial merge conflicts were resolved manually as labelled above, so we'll have to see what the CI says...
  • since the v1.5.2 tag was never pushed, but the remote maintenance/1.5.x branch is protected , I've opted to delete the v1.5.2 tag locally and it will most likely be reassigned to a non-REL commit (i.e., the most recent commit at release prepartion time, which might be the merge commit from this PR when it is ready)
  • update the 1.5.2 release notes to reflect the additional backports included here

peterbell10 and others added 4 commits July 21, 2020 20:06
* CI: Add GCC 4.8 entry to travis build matrix

* CI: Fix native code coverage on travis
Cython now complains if the types of the two branches in the ternary
statement do not match (here 1D vs 2D).
* update SciPy `1.5.2` release notes
following a second round of backports
after the first attempt at wheel builds
failed
@tylerjereddy tylerjereddy added the maintenance Items related to regular maintenance tasks label Jul 22, 2020
@@ -122,8 +122,19 @@ matrix:
- NUMPYSPEC="numpy==1.17.4"
- USE_SDIST=1
- python: 3.6
if: type = pull_request
name: "Wheel, Optimised, GCC 4.8"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the test incantation command is different on the older branch it seems.. since it included a COVERAGE entry already I left it alone, but not sure what will happen..

@@ -861,7 +861,11 @@ def from_euler(cls, seq, angles, degrees=False):
"num_axes), got {}.".format(angles.shape))

quat = _elementary_quat_compose(seq, angles, intrinsic)
return cls(quat[0] if is_single else quat, normalize=False, copy=False)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The quat object above may be slightly different vs. the one Thomas patched on master because of seq.encode()

@rgommers
Copy link
Member

rgommers commented Jul 22, 2020

since the v1.5.2 tag was never pushed, but the remote maintenance/1.5.x branch is protected , I've opted to delete the v1.5.2 tag locally and it will most likely be reassigned to a non-REL commit (i.e., the most recent commit at release prepartion time, which might be the merge commit from this PR when it is ready)

I think that's fine.

@tylerjereddy
Copy link
Contributor Author

CI is all-green, no objections, backport PR so merging.

@tylerjereddy tylerjereddy merged commit 01d8bfb into scipy:maintenance/1.5.x Jul 23, 2020
@tylerjereddy tylerjereddy deleted the treddy_scipy_152_more_backports branch July 23, 2020 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Items related to regular maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants