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

pin "rack" gem to v2.2 #1277

Closed
wants to merge 1 commit into from
Closed

pin "rack" gem to v2.2 #1277

wants to merge 1 commit into from

Conversation

Harriethw
Copy link
Contributor

@Harriethw Harriethw commented Jun 14, 2024

The previous config allowed rack to be bumped to a higher version (e.g. 3) which introduced errors when running the tests [1] for CI (#1276) and for new users running locally.

This sets the version to no greater than 2.2 as a temporary fix to allow tests to pass, until updates can be made to fix the breaking changes.

[1] https://gds.slack.com/archives/C03D792LYJG/p1718295709926239?thread_ts=1718203657.261269&cid=C03D792LYJG

more context

It looks like the error is thrown by pact_mock-service, which should have introduced compatibility with rack 3+ here pact-foundation/pact-mock_service#146

Stu has raised an issue here pact-foundation/pact-mock_service#151

Verified

This commit was signed with the committer’s verified signature.
andrross Andrew Ross
The previous config allowed rack to be bumped to a higher version (e.g. 3)
which introduced errors when running the test [1] for CI and for new users running locally.

This sets the version to no greater than 2.2 as a temporary fix to allow tests to pass, until
updates can be made to fix the breaking changes.

[1] https://gds.slack.com/archives/C03D792LYJG/p1718295709926239?thread_ts=1718203657.261269&cid=C03D792LYJG
@pezholio
Copy link
Contributor

I've raised an issue on the related gem here (tried to fix it, but it wasn't as easy as I imagined) pact-foundation/pact-mock_service#151

@Harriethw
Copy link
Contributor Author

Harriethw commented Jun 18, 2024

a fix for the pact upstream error has been merged into pact-mock_service here, so once the library is updated this PR shouldn't be necessary https://github.com/pact-foundation/pact-mock_service/releases/tag/v3.12.2

@Harriethw Harriethw closed this Jun 18, 2024
@yndajas yndajas deleted the fix-rack-dependency branch October 16, 2024 15: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.

None yet

2 participants