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

Add explicit compat bounds for the Distributed stdlib #121256

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JamesWrigley
Copy link

Unfortunately this also includes a bunch of extraneous whitespace changes. In total there are 512 affected packages.

I believe all the previous steps have already been done: JuliaLang/julia#50697
Requires this PR to reproduce: KristofferC/StdlibRegistryCompatUpdater#2

CC @vchuravy

@KristofferC
Copy link
Member

Would it be possible to have a PR that first normalizes all the whitespace in the registry (which would be easy to review) and then have this on top of it so that it wouldn't mix actual changes with whitespace only?

@JamesWrigley
Copy link
Author

I can make the PR but you'll have to merge it pretty quickly to avoid merge conflicts 😛

@fredrikekre
Copy link
Member

I thought there were tests that verify that files roundtrip after parsing and rewriting. Perhaps we are just testing that the parsed output is equal to the parsed-written-reparsed output?

Is this a change in TOML.jl?

@KristofferC
Copy link
Member

KristofferC commented Dec 13, 2024

Hm, the changes here seems to undo #65999.

I thought there were tests that verify that files roundtrip after parsing and rewriting

JuliaRegistries/RegistryCI.jl#459 doesn't seem closed

@JamesWrigley
Copy link
Author

Is there like a preference for formatting that I'm missing or something?

@JamesWrigley
Copy link
Author

Running the stdlib updater on 1.10 seems to have removed the whitespace changes, but now there's 500 modified files instead of 512 🤔

@JamesWrigley
Copy link
Author

These are the packages that were skipped when running in 1.10:

julia> setdiff(dot_11, dot_10)
12-element Vector{SubString{String}}:
 "BLAKJac"
 "ClimaCalibrate"
 "CloudClusters"
 "EwaldSummations"
 "GeoStatsProcesses"
 "LibraryAugmentedSymbolicRegression"
 "OpenGeoSysUncertaintyQuantification"
 "Oscar"
 "ParametricProcesses"
 "PulseInputDDM"
 "TableTransforms"
 "TopologicalNumbers"

They all already have compat bounds and the difference between the diffs looks to be purely whitespace changes, e.g.:

modified   P/ParametricProcesses/Compat.toml
@@ -1,3 +1,3 @@
 [0]
-Distributed = "1.9.2-1"
-julia = "1.5.0-1"
+Distributed = "1.9.2 - 1"
+julia = "1.5.0 - 1"

So I think the new diff from 1.10 can be trusted.

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.

3 participants