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

windows-sys 0.52 #1852

Merged
merged 1 commit into from
Feb 6, 2024
Merged

Conversation

kayabaNerve
Copy link
Contributor

I was unable to locally test this due to the asm/C code.

I also couldn't run the CI on this commit due to the amount of jobs the CI spawns.

I stripped the non-Windows CIs out on my master branch and the Windows CIs did pass, so I believe this is valid without any actual code edits.

See https://github.com/kayabaNerve/ring/actions/runs/7096652359 for those.

Copy link

codecov bot commented Dec 5, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (317a062) 96.01% compared to head (12dbd18) 96.01%.
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1852   +/-   ##
=======================================
  Coverage   96.01%   96.01%           
=======================================
  Files         136      136           
  Lines       20692    20692           
  Branches      226      226           
=======================================
  Hits        19867    19867           
  Misses        791      791           
  Partials       34       34           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@briansmith
Copy link
Owner

Thanks for the PR.

I was unable to locally test this due to the asm/C code.

No worries, because the CI will run the tests.

However, we shouldn't put "I was unable to locally test this due to the asm/C code" in the commit message because that isn't useful for people reading the history. Please amend the commit to explain why we are updating to 0.52.

Dependency bump which keeps in line with the rest of the ecosystem and
intends to de-duplicates versions within users' trees.
@kayabaNerve
Copy link
Contributor Author

Provided a more descriptive message.

ErichDonGubler added a commit to erichdongubler-contrib/ocrs that referenced this pull request Jan 3, 2024
`ocrs` currently relies on checking the `HOME` environment variable to
determine where to placed cached models. Windows doesn't use this,
though, so of course, it breaks. 😅

Implement the proper cross-platform logic for getting a home directory
with [`home::home_dir`].

`ocrs`' current dependency tree use `windows` 0.48.0 because of the
`ring` dependency via dependency on `ureq`. This PR unfortuantely also
brings in `windows` 0.52.0 as a duplicate dependency.
[`briansmith/ring`#1852] upgrades `ring` to use `windows` 0.52.0, and
should be followed up with to remove this dep. duplication.

[`briansmith/ring`#1852]: briansmith/ring#1852
[`home::home_dir`]: https://docs.rs/home/0.5.9/home/fn.home_dir.html
@briansmith briansmith merged commit 6762d65 into briansmith:main Feb 6, 2024
125 checks passed
@briansmith
Copy link
Owner

Thanks! I have tested this and merged it.

@kayabaNerve kayabaNerve deleted the windows-sys-0.52 branch February 6, 2024 03:28
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.

2 participants