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

Drop win32ole #346

Merged
merged 4 commits into from
Jun 8, 2024
Merged

Drop win32ole #346

merged 4 commits into from
Jun 8, 2024

Conversation

Earlopain
Copy link
Contributor

Closes #345

I refined my initial approach for this. The PR I linked in the issue for ruby-concurrency got merged and released.

I tried adding CI on windows for this but didn't quite manage, the mysql gem fails to compile. I also tried adding Ruby 3.3 to the matrix but there's one memory leak test that consistently fails:

Parallel GC does not leak memory in threads
image

So I just bump actions/checkout to prevent a deprecation warning about old node versions.

This will become bundled in Ruby 3.5

Unfortunately there is no portable way of checking for this.
The wmic command is deprecated, though I don't observe this myself on W11 (yet?)
This prevents a deprecation warning
lib/parallel.rb Outdated Show resolved Hide resolved
lib/parallel.rb Outdated Show resolved Hide resolved
Copy link
Owner

@grosser grosser left a comment

Choose a reason for hiding this comment

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

maybe ignore the mutex in the test to make it pass ?

@grosser
Copy link
Owner

grosser commented Jun 7, 2024

also good enough to just add a skip on ruby 3.3, better than having no ci at all

@grosser
Copy link
Owner

grosser commented Jun 7, 2024

lmk if you are ready to merge or want to change something still

@Earlopain
Copy link
Contributor Author

👍 I'll adress your feedback tomorrow

@Earlopain
Copy link
Contributor Author

Alright, should be good now. I bumped the sqlite3 version since this older one wouldn't compile on my other machine anymore. There's currently no released rails version that works with 2.x, so pin to 1.4 for now

@grosser
Copy link
Owner

grosser commented Jun 8, 2024

awesome work, thx!

@grosser grosser merged commit 23b724f into grosser:master Jun 8, 2024
6 checks passed
@grosser
Copy link
Owner

grosser commented Jun 8, 2024

1.25.0

@Earlopain Earlopain deleted the drop-win32ole branch June 8, 2024 14:50
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.

Ruby 3.5 to drop win32ole
2 participants