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

Current release of mockery v2.45 image is incompatible with Go v1.23 when running on docker #813

Closed
1 of 5 tasks
khaifazil opened this issue Sep 5, 2024 · 1 comment · Fixed by #814
Closed
1 of 5 tasks

Comments

@khaifazil
Copy link
Contributor

khaifazil commented Sep 5, 2024

Description

Current release of mockery v2.45 image is not compatible with Go v1.23

image

ERR Error parsing file error="err: exit status 1: stderr: go: go.mod requires go >= 1.23 (running go 1.22.6; GOTOOLCHAIN=local)\n" dry-run=false version=v2.45.0

Mockery Version

Mockery v2.45.0

Go Version

Go v1.23 is currently used in the application's go.mod

Installation Method

  • Binary Distribution
  • Docker
  • brew
  • go install
  • Other: [specify]

Steps to Reproduce

  1. Setup application with Go v1.23
  2. Setup docker compose file with service using mockery image v2.45.0
  3. Generate mocks

Expected Behavior

Expected: No error returned and mocks generated

Actual Behavior

Actual: ERR Error parsing file error="err: exit status 1: stderr: go: go.mod requires go >= 1.23 (running go 1.22.6; GOTOOLCHAIN=local)\n" dry-run=false version=v2.45.0

@khaifazil khaifazil changed the title Current release of mockery v2.45 image is not compatible with Go v1.23 Current release of mockery v2.45 image is not compatible with Go v1.23 when running on docker Sep 5, 2024
@khaifazil khaifazil changed the title Current release of mockery v2.45 image is not compatible with Go v1.23 when running on docker Current release of mockery v2.45 image is incompatible with Go v1.23 when running on docker Sep 5, 2024
@abhinavnair
Copy link
Contributor

Hi @LandonTClipp , would it be possible to release a new version of Mockery to Dockerhub for this change in the next 2-3 days? Currently we are unable to use this fix until there is a new version release. Appreciate the help @khaifazil @LandonTClipp 🙂

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 a pull request may close this issue.

2 participants