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

Use Base.TOML.Parser{Dates} for TOML parsing w/ Dates support #3938

Merged
merged 4 commits into from
Jul 26, 2024

Conversation

topolarity
Copy link
Member

@topolarity topolarity commented Jul 3, 2024

This will allow us to delete the `.Dates` field upstream.
These were relying on implicit `convert()` behavior in the previous
constructor, which is harmless in this case but best not to depend upon.
@topolarity topolarity force-pushed the ct/DTParser branch 2 times, most recently from a68165e to 46416bd Compare July 3, 2024 23:00
@topolarity topolarity changed the title Use DTParser for TOML parsing w/ Dates support Use TOML.Parser for TOML parsing w/ Dates support Jul 3, 2024
@topolarity topolarity force-pushed the ct/DTParser branch 2 times, most recently from 3bec0e4 to 4a89855 Compare July 4, 2024 12:29
@topolarity
Copy link
Member Author

This now depends on JuliaLang/julia#55017

@topolarity topolarity changed the title Use TOML.Parser for TOML parsing w/ Dates support Use Base.TOML.Parser{Dates} for TOML parsing w/ Dates support Jul 4, 2024
@IanButterworth
Copy link
Member

Re-running now that JuliaLang/julia#55017 is merged

@topolarity
Copy link
Member Author

Probably need to wait for a new nightly first 😉

@IanButterworth
Copy link
Member

Nightlies are updated as soon as master commits are green, not nightly. The powerpc builds are lagging but otherwise all other nightlies should be up to date.

@IanButterworth
Copy link
Member

The 64 bit windows nightly is a day old even though there are multiple green CI runs on julia master since.. odd.

I'll give it time to resolve itself

@IanButterworth IanButterworth merged commit e4a6723 into master Jul 26, 2024
7 checks passed
@IanButterworth IanButterworth deleted the ct/DTParser branch July 26, 2024 03:14
KristofferC pushed a commit that referenced this pull request Sep 12, 2024
* Use `Base.TOML.Parser{Dates}` for TOML parsing w/ Dates support

This will allow us to delete the `.Dates` field upstream.

* Use `Base.TOMLCache(p::TOML.Parser)` constructor

These were relying on implicit `convert()` behavior in the previous
constructor, which is harmless in this case but best not to depend upon.

---------

Co-authored-by: Ian Butterworth <[email protected]>
(cherry picked from commit e4a6723)
@IanButterworth IanButterworth mentioned this pull request Oct 5, 2024
7 tasks
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.

4 participants