Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Reset patch-level dependency to 0 #2850

Merged
merged 1 commit into from
Jan 15, 2021
Merged

Reset patch-level dependency to 0 #2850

merged 1 commit into from
Jan 15, 2021

Conversation

stim371
Copy link
Contributor

@stim371 stim371 commented Jan 12, 2021

I was having trouble upgrading rspec to 3.10, and it seems like this change (acc718e) means no one can upgrade to 3.10 until rspec-support gets to 3.10.3.

Maybe I'm missing some new idiosyncrasy in the dependency relationships for rspec, but setting this back to 0 allows upgrade to 3.10 since any patch level will be accepted.

Edit: Turns out my rspec-rails dependency blocks getting up to 3.10 on this gem, so I stumbled backwards into this. Thanks for the clarifying comment, @JonRowe !

A non-zero patch level in the pessimistic version constraint means you can't install the next minor version until its patch level reaches the constraint patch level.
@stim371 stim371 closed this Jan 12, 2021
@stim371 stim371 reopened this Jan 12, 2021
@JonRowe JonRowe merged commit 6543181 into rspec:main Jan 15, 2021
@JonRowe
Copy link
Member

JonRowe commented Jan 15, 2021

Apologies, this wasn't back ported from 3-10-maintenance.

For reference for others, this only affected installs via git specifically on the main branch as the 3-10-maintenance and the released versions had the correct version.

@stim371 stim371 deleted the patch-1 branch January 15, 2021 21:17
yujinakayama pushed a commit to yujinakayama/rspec-monorepo that referenced this pull request Oct 6, 2021
Reset patch-level dependency to 0

---
This commit was imported from rspec/rspec-core@6543181.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants