pingcap / pingcap/tidb

go mod tidy thinks deprecated dependency is required.

Open
#39,039 0 comments 0 reactions 0 assignees View on GitHub
severity/minor type/question
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Bug Report

Please answer these questions before submitting your issue. Thanks!

### 1. Minimal reproduce step (Required)

run go get github.com/pingcap/tidb@version, where version is the commit hash of v6.1.2(latest release)
run go mod tidy

### 2. What did you expect to see? (Required)
go mod tidy should succeed

### 3. What did you see instead (Required)
it fails because it thinks tidb depends on pingcap/parser
I checked the tidb codebase, it doesn't seem to depend on that anymore (deprecated)

### 4. What is your TiDB version? (Required)
6.1.2

Is this some quirk with the go module system? running go get to get ToT of pingcap/parser would fix this for me, but it's not good since it's deprecated

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.