8000 chore: relax Go version constraint to 1.23 by zrbecker · Pull Request #245 · cometbft/cometbft-db · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore: relax Go version constraint to 1.23 #245

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

Merged
merged 1 commit into from
Feb 19, 2025

Conversation

zrbecker
Copy link
Contributor

This PR relaxes the Go restraint to 1.23. In modules that include it, it will require 1.23, but will be flexible to the patch version that module is on.

I removed the Github Action env variable since it doesn't look like we use it anymore. Perhaps in the recent Github Action refactors we removed it's usage. (If workflows start failing I will need to restore this, but I can't find any references to it in the code).


PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)

@zrbecker zrbecker requested review from a team as code owners February 18, 2025 20:45
Copy link
codecov bot commented Feb 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.97%. Comparing base (fb4f703) to head (23f30c6).
Report is 65 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #245      +/-   ##
==========================================
+ Coverage   76.80%   76.97%   +0.16%     
==========================================
  Files          23       23              
  Lines        2048     2076      +28     
==========================================
+ Hits         1573     1598      +25     
- Misses        403      405       +2     
- Partials       72       73       +1     

@jmalicevic jmalicevic added this pull request to the merge queue Feb 19, 2025
@jmalicevic jmalicevic removed this pull request from the merge queue due to a manual request Feb 19, 2025
@zrbecker zrbecker added this pull request to the merge queue Feb 19, 2025
Merged via the queue into cometbft:main with commit 569db46 Feb 19, 2025
8 checks passed
@zrbecker zrbecker deleted the zrb/go_version branch February 19, 2025 13:05
github-merge-queue bot pushed a commit to cometbft/cometbft that referenced this pull request Feb 20, 2025
This PR relaxes to Go version from 1.23 from 1.23.5. This should
implicitly use the latest patch version by default, but let dependent
modules control of the patch model. Although it's recommended that the
latest patch is used in general.

This avoids the need to constantly update this value on every Go patch
upgrade.

Similar change done in cometbft-db here
(cometbft/cometbft-db#245)

---

#### PR checklist

- [x] Tests written/updated
- [ ] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [x] Updated relevant documentation (`docs/` or `spec/`) and code
comments
mergify bot pushed a commit to cometbft/cometbft that referenced this pull request Feb 20, 2025
This PR relaxes to Go version from 1.23 from 1.23.5. This should
implicitly use the latest patch version by default, but let dependent
modules control of the patch model. Although it's recommended that the
latest patch is used in general.

This avoids the need to constantly update this value on every Go patch
upgrade.

Similar change done in cometbft-db here
(cometbft/cometbft-db#245)

---

#### PR checklist

- [x] Tests written/updated
- [ ] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [x] Updated relevant documentation (`docs/` or `spec/`) and code
comments

(cherry picked from commit a8b48c7)

# Conflicts:
#	test/e2e/docker/Dockerfile
#	test/e2e/docker/Dockerfile.debug
mergify bot pushed a commit to cometbft/cometbft that referenced this pull request Feb 20, 2025
This PR relaxes to Go version from 1.23 from 1.23.5. This should
implicitly use the latest patch version by default, but let dependent
modules control of the patch model. Although it's recommended that the
latest patch is used in general.

This avoids the need to constantly update this value on every Go patch
upgrade.

Similar change done in cometbft-db here
(cometbft/cometbft-db#245)

---

#### PR checklist

- [x] Tests written/updated
- [ ] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [x] Updated relevant documentation (`docs/` or `spec/`) and code
comments

(cherry picked from commit a8b48c7)

# Conflicts:
#	.github/workflows/go-version.env
#	DOCKER/Dockerfile
#	README.md
#	api/go.mod
#	docs/guides/go-built-in.md
#	docs/guides/go.md
#	go.mod
#	go.work
#	test/e2e/docker/Dockerfile
#	test/e2e/docker/Dockerfile.debug
zrbecker added a commit to cometbft/cometbft that referenced this pull request Feb 24, 2025
This PR relaxes to Go version from 1.23 from 1.23.5. This should
implicitly use the latest patch version by default, but let dependent
modules control of the patch model. Although it's recommended that the
latest patch is used in general.

This avoids the need to constantly update this value on every Go patch
upgrade.

Similar change done in cometbft-db here
(cometbft/cometbft-db#245)

---

#### PR checklist

- [x] Tests written/updated
- [ ] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [x] Updated relevant documentation (`docs/` or `spec/`) and code
comments
<hr>This is an automatic backport of pull request #4964 done by
[Mergify](https://mergify.com).

---------

Co-authored-by: Zachary Becker <zachary@interchainlabs.io>
Solovyov1796 pushed a commit to 0glabs/cometbft that referenced this pull request Apr 10, 2025
This PR relaxes to Go version from 1.23 from 1.23.5. This should
implicitly use the latest patch version by default, but let dependent
modules control of the patch model. Although it's recommended that the
latest patch is used in general.

This avoids the need to constantly update this value on every Go patch
upgrade.

Similar change done in cometbft-db here
(cometbft/cometbft-db#245)

---

#### PR checklist

- [x] Tests written/updated
- [ ] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [x] Updated relevant documentation (`docs/` or `spec/`) and code
comments
<hr>This is an automatic backport of pull request #4964 done by
[Mergify](https://mergify.com).

---------

Co-authored-by: Zachary Becker <zachary@interchainlabs.io>
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
0