Skip to content

Backports for release 1.9 - #300

Merged
dkarrasch merged 13 commits into
release-1.9from
backports-release-1.9
Apr 11, 2023
Merged

dkarrasch merged 13 commits into
release-1.9from
backports-release-1.9

Conversation

@dkarrasch

Copy link
Copy Markdown
Member

No description provided.

@codecov-commenter

codecov-commenter commented Nov 24, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #300 (d32ecaf) into release-1.9 (311b4b4) will increase coverage by 0.13%.
The diff coverage is 98.36%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@               Coverage Diff               @@
##           release-1.9     #300      +/-   ##
===============================================
+ Coverage        93.78%   93.91%   +0.13%     
===============================================
  Files               12       12              
  Lines             7334     7379      +45     
===============================================
+ Hits              6878     6930      +52     
+ Misses             456      449       -7     
Impacted Files Coverage Δ
src/abstractsparse.jl 60.41% <ø> (+13.04%) ⬆️
src/solvers/cholmod.jl 90.83% <50.00%> (+0.17%) ⬆️
src/linalg.jl 95.65% <100.00%> (+0.15%) ⬆️
src/solvers/umfpack.jl 88.52% <100.00%> (ø)
src/sparsematrix.jl 95.54% <100.00%> (+0.17%) ⬆️
src/sparsevector.jl 95.03% <100.00%> (+0.01%) ⬆️
src/SparseArrays.jl 77.77% <0.00%> (-4.58%) ⬇️
... and 3 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@dkarrasch

Copy link
Copy Markdown
Member Author

We currently don't have a pre-release of v1.9, so tests obviously fail. Once we have, then we should restrict testing to v1.9 and exclude nightly, to avoid visual clutter and test noise.

fredrikekre and others added 4 commits December 12, 2022 23:42
…314)

With this patch the output buffers to `sparse!` are resized in order to
satisfy the buffer length checks in the `SparseMatrixCSC` constructor
that were introduced in JuliaLang/julia#40523. Previously `csccolptr`
was never resized, and  `cscrowval` and `cscnzval` were only resized if
the buffers were too short (i.e. never truncated).

The requirement `length(csccolptr) >= n + 1` could be kept, but seems
unnecessary since all buffers need to be resized anyway (to pass the
constructor checks).

In particular this fixes calling `sparse!` with `I`, `J`, `V` as both
input and output buffers: `sparse!(I, J, V, m, n, ..., I, J, V)`.

Fixes #313.

(cherry picked from commit 85a381b)
* assign whenever v !== zero(eltype(sparsecollection))

* test -0.0

* allow reinterpret

* test reinterpret
Comment thread .github/workflows/ci.yml Resolved
@fredrikekre

Copy link
Copy Markdown
Member

Probably good to merge here and update in JuliaLang/julia sooner rather than later so we don't miss 1.9.

@dkarrasch

Copy link
Copy Markdown
Member Author

Perhaps we should finalize #335, include it here and then go.

@KristofferC

KristofferC commented Mar 6, 2023 •

Copy link
Copy Markdown
Member

Can this be updated, merged and bumped on backports-release-1.9?

LilithHafner and others added 2 commits March 6, 2023 21:01
#303 should've been backported as well, before #335.
@dkarrasch

Copy link
Copy Markdown
Member Author

We don't squash this, right? Just create a merge commit. And how do we bump it over at backports-release-1.9? With the bot?

@wsshin

wsshin commented Apr 5, 2023 •

Copy link
Copy Markdown

Just wondering if this is going to be merged in 1.9-rcX.

1.9-rc2 was released yesterday. Previous Julia major releases usually had 3–4 release candidates, which means that we will probably have just one or two more release candidates for Julia 1.9. I think it will be nice to test these backports in release candidates before the official release of 1.9.

@KristofferC

Copy link
Copy Markdown
Member

Just create a merge commit.

Yes

With the bot?

Just do it manually. Update the hash in stdlib /SparseArrays.version.

Also, should probably remove nightly CI from this branch and make sure the doctests run on julia 1.9.

@dkarrasch
dkarrasch merged commit b2bf969 into release-1.9 Apr 11, 2023
@dkarrasch
dkarrasch deleted the backports-release-1.9 branch April 11, 2023 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants