dependabot / dependabot-core

🤖 Dependabot's core logic for creating update PRs.
https://docs.github.com/en/code-security/dependabot
MIT License
4.62k stars 989 forks source link

Dependabot downgrades Go mod incompatible dependency #6947

Closed janisz closed 1 year ago

janisz commented 1 year ago

Is there an existing issue for this?

Package ecosystem

Go

Package manager version

No response

Language version

1.18

Manifest location and content before the Dependabot update

module github.com/stackrox/rox

go 1.18

require (
    cloud.google.com/go/compute/metadata v0.2.3
    cloud.google.com/go/containeranalysis v0.9.0
    cloud.google.com/go/storage v1.29.0
    github.com/BurntSushi/toml v1.2.1
    github.com/Masterminds/semver v1.5.0
    github.com/Masterminds/sprig/v3 v3.2.3
    github.com/NYTimes/gziphandler v1.1.1
    github.com/PagerDuty/go-pagerduty v1.6.0
    github.com/RoaringBitmap/roaring v1.2.3
    github.com/VividCortex/ewma v1.2.0
    github.com/andygrunwald/go-jira v1.16.0
    github.com/aws/aws-sdk-go v1.44.219
    github.com/blevesearch/bleve v1.0.14
    github.com/cenkalti/backoff/v3 v3.2.2
    github.com/cloudflare/cfssl v1.6.3
    github.com/containers/image/v5 v5.24.2
    github.com/coreos/go-oidc/v3 v3.5.0
    github.com/coreos/go-systemd/v22 v22.5.0
    github.com/dave/jennifer v1.6.0
    github.com/dexidp/dex v0.0.0-20230320125501-2bb4896d120e
    github.com/docker/distribution v2.8.1+incompatible
    // If this is updated, be sure to check the version of github.com/opencontainers/runc used.
    github.com/docker/docker v20.10.23+incompatible
    github.com/docker/go-connections v0.4.0
    github.com/docker/go-units v0.5.0
    github.com/facebookincubator/nvdtools v0.1.5
    github.com/fatih/color v1.15.0
    github.com/fullsailor/pkcs7 v0.0.0
    github.com/georgysavva/scany v1.2.1
    github.com/ghodss/yaml v1.0.0
    github.com/go-logr/logr v1.2.3
    github.com/godbus/dbus/v5 v5.1.0
    github.com/gofrs/uuid v4.4.0+incompatible
    github.com/gogo/protobuf v1.3.2
    github.com/golang-jwt/jwt/v4 v4.5.0
    github.com/golang/mock v1.7.0-rc.1
    github.com/golang/protobuf v1.5.3
    github.com/google/certificate-transparency-go v1.1.4
    github.com/google/gnostic v0.6.9
    github.com/google/go-cmp v0.5.9
    github.com/google/go-containerregistry v0.13.0
    github.com/gorilla/schema v1.2.0
    github.com/graph-gophers/graphql-go v1.5.0
    github.com/grpc-ecosystem/go-grpc-middleware v1.3.0
    github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
    github.com/grpc-ecosystem/grpc-gateway v1.16.0
    github.com/hashicorp/go-multierror v1.1.1
    github.com/hashicorp/go-version v1.6.0
    github.com/hashicorp/golang-lru/v2 v2.0.2
    github.com/heimdalr/dag v1.2.1
    github.com/heroku/docker-registry-client v0.0.0
    github.com/jackc/pgconn v1.14.0
    github.com/jackc/pgtype v1.14.0
    github.com/jackc/pgx/v4 v4.18.0
    github.com/joshdk/go-junit v1.0.0
    github.com/lib/pq v1.10.7
    github.com/machinebox/graphql v0.2.2
    github.com/mailru/easyjson v0.7.7
    github.com/mitchellh/go-wordwrap v1.0.1
    github.com/mitchellh/hashstructure/v2 v2.0.2
    github.com/np-guard/cluster-topology-analyzer v1.5.0
    github.com/nxadm/tail v1.4.8
    github.com/olekukonko/tablewriter v0.0.5
    github.com/opencontainers/go-digest v1.0.0
    github.com/opencontainers/image-spec v1.1.0-rc2
    github.com/openshift/api v3.9.1-0.20191201231411-9f834e337466+incompatible
    github.com/openshift/client-go v0.0.0-20200623090625-83993cebb5ae
    github.com/operator-framework/helm-operator-plugins v0.0.7
    github.com/owenrumney/go-sarif/v2 v2.1.3
    github.com/pkg/errors v0.9.1
    github.com/prometheus/client_golang v1.14.0
    github.com/prometheus/client_model v0.3.0
    github.com/prometheus/common v0.42.0
    github.com/quay/claircore v1.4.20
    github.com/russellhaering/gosaml2 v0.9.1
    github.com/russellhaering/goxmldsig v1.3.0
    github.com/sergi/go-diff v1.3.1
    github.com/sigstore/cosign v1.13.1
    github.com/sigstore/sigstore v1.5.1
    github.com/spf13/cobra v1.6.1
    github.com/spf13/pflag v1.0.5
    github.com/stackrox/external-network-pusher v0.0.0-20210419192707-074af92bbfa7
    github.com/stackrox/helmtest v0.0.0-20230216104233-de5e6193716a
    github.com/stackrox/k8s-istio-cve-pusher v0.0.0-20210422200002-d89f671ac4f5
    github.com/stackrox/scanner v0.0.0-20230322091704-5cc0f02a7865
    github.com/stretchr/testify v1.8.2
    github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c
    github.com/tidwall/gjson v1.14.1
    github.com/tkuchiki/go-timezone v0.2.2
    github.com/travelaudience/go-promhttp v1.0.1
    github.com/vbauerster/mpb/v4 v4.12.2
    go.etcd.io/bbolt v1.3.7
    go.uber.org/atomic v1.10.0
    go.uber.org/goleak v1.2.1
    go.uber.org/zap v1.24.0
    golang.org/x/crypto v0.7.0
    golang.org/x/exp v0.0.0-20221004215720-b9f4876ce741
    golang.org/x/net v0.8.0
    golang.org/x/oauth2 v0.6.0
    golang.org/x/sync v0.1.0
    golang.org/x/sys v0.6.0
    golang.org/x/time v0.3.0
    golang.org/x/tools v0.7.0
    golang.stackrox.io/grpc-http1 v0.2.6
    google.golang.org/api v0.114.0
    google.golang.org/genproto v0.0.0-20230320184635-7606e756e683
    google.golang.org/grpc v1.53.0
    google.golang.org/grpc/examples v0.0.0-20210902184326-c93e472777b9
    gopkg.in/robfig/cron.v2 v2.0.0-20150107220207-be2e0b0deed5
    gopkg.in/square/go-jose.v2 v2.6.0
    gopkg.in/yaml.v3 v3.0.1
    gorm.io/driver/postgres v1.5.0
    gorm.io/gorm v1.24.7-0.20230306060331-85eaf9eeda11
    helm.sh/helm/v3 v3.11.2
    k8s.io/api v0.26.2
    k8s.io/apimachinery v0.26.2
    k8s.io/apiserver v0.26.1
    k8s.io/client-go v0.26.2
    k8s.io/kubectl v0.26.0
    k8s.io/kubelet v0.26.1
    k8s.io/utils v0.0.0-20230209194617-a36077c30491
    sigs.k8s.io/controller-runtime v0.14.4
    sigs.k8s.io/controller-tools v0.9.2
    sigs.k8s.io/e2e-framework v0.0.8
    sigs.k8s.io/yaml v1.3.0
)

require (
    cloud.google.com/go v0.110.0 // indirect
    cloud.google.com/go/compute v1.18.0 // indirect
    cloud.google.com/go/iam v0.12.0 // indirect
    github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
    github.com/MakeNowJust/heredoc v1.0.0 // indirect
    github.com/Masterminds/goutils v1.1.1 // indirect
    github.com/Masterminds/semver/v3 v3.2.0 // indirect
    github.com/Masterminds/squirrel v1.5.3 // indirect
    github.com/Microsoft/go-winio v0.6.0 // indirect
    github.com/Microsoft/hcsshim v0.9.6 // indirect
    github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 // indirect
    github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d // indirect
    github.com/acomagu/bufpipe v1.0.3 // indirect
    github.com/andybalholm/brotli v1.0.3 // indirect
    github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
    github.com/beevik/etree v1.1.0 // indirect
    github.com/beorn7/perks v1.0.1 // indirect
    github.com/bits-and-blooms/bitset v1.2.0 // indirect
    github.com/blang/semver v3.5.1+incompatible // indirect
    github.com/blang/semver/v4 v4.0.0 // indirect
    github.com/blevesearch/blevex v1.0.0 // indirect
    github.com/blevesearch/go-porterstemmer v1.0.3 // indirect
    github.com/blevesearch/mmap-go v1.0.2 // indirect
    github.com/blevesearch/segment v0.9.0 // indirect
    github.com/cespare/xxhash/v2 v2.2.0 // indirect
    github.com/chai2010/gettext-go v1.0.2 // indirect
    github.com/cloudflare/circl v1.1.0 // indirect
    github.com/containerd/cgroups v1.0.4 // indirect
    github.com/containerd/containerd v1.6.18 // indirect
    github.com/containerd/continuity v0.3.0 // indirect
    github.com/containerd/stargz-snapshotter/estargz v0.13.0 // indirect
    github.com/containers/storage v1.45.3 // indirect
    github.com/couchbase/ghistogram v0.1.0 // indirect
    github.com/couchbase/moss v0.1.0 // indirect
    github.com/couchbase/vellum v1.0.2 // indirect
    github.com/cyberphone/json-canonicalization v0.0.0-20220623050100-57a0ce2678a7 // indirect
    github.com/cyphar/filepath-securejoin v0.2.3 // indirect
    github.com/davecgh/go-spew v1.1.1 // indirect
    github.com/docker/cli v20.10.21+incompatible // indirect
    github.com/docker/docker-credential-helpers v0.7.0 // indirect
    github.com/docker/go-metrics v0.0.1 // indirect
    github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7 // indirect
    github.com/dsnet/compress v0.0.2-0.20210315054119-f66993602bf5 // indirect
    github.com/edsrzf/mmap-go v1.0.0 // indirect
    github.com/emicklei/go-restful/v3 v3.10.1 // indirect
    github.com/emirpasic/gods v1.18.1 // indirect
    github.com/evanphx/json-patch v5.6.0+incompatible // indirect
    github.com/evanphx/json-patch/v5 v5.6.0 // indirect
    github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d // indirect
    github.com/facebookgo/ensure v0.0.0-20200202191622-63f1cf65ac4c // indirect
    github.com/facebookincubator/flog v0.0.0-20190930132826-d2511d0ce33c // indirect
    github.com/fatih/structs v1.1.0 // indirect
    github.com/fsnotify/fsnotify v1.6.0 // indirect
    github.com/go-chi/chi v4.1.2+incompatible // indirect
    github.com/go-errors/errors v1.0.1 // indirect
    github.com/go-git/gcfg v1.5.0 // indirect
    github.com/go-git/go-billy/v5 v5.4.1 // indirect
    github.com/go-git/go-git/v5 v5.6.0 // indirect
    github.com/go-gorp/gorp/v3 v3.0.5 // indirect
    github.com/go-jose/go-jose/v3 v3.0.0 // indirect
    github.com/go-logr/zapr v1.2.3 // indirect
    github.com/go-openapi/analysis v0.21.4 // indirect
    github.com/go-openapi/errors v0.20.3 // indirect
    github.com/go-openapi/jsonpointer v0.19.6 // indirect
    github.com/go-openapi/jsonreference v0.20.2 // indirect
    github.com/go-openapi/loads v0.21.2 // indirect
    github.com/go-openapi/runtime v0.24.2 // indirect
    github.com/go-openapi/spec v0.20.7 // indirect
    github.com/go-openapi/strfmt v0.21.3 // indirect
    github.com/go-openapi/swag v0.22.3 // indirect
    github.com/go-openapi/validate v0.22.0 // indirect
    github.com/go-playground/locales v0.14.0 // indirect
    github.com/go-playground/universal-translator v0.18.0 // indirect
    github.com/go-playground/validator/v10 v10.11.1 // indirect
    github.com/gobuffalo/flect v0.2.5 // indirect
    github.com/gobwas/glob v0.2.3 // indirect
    github.com/golang/glog v1.0.0 // indirect
    github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
    github.com/golang/snappy v0.0.4 // indirect
    github.com/google/btree v1.1.2 // indirect
    github.com/google/go-querystring v1.1.0 // indirect
    github.com/google/gofuzz v1.2.0 // indirect
    github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
    github.com/google/uuid v1.3.0 // indirect
    github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect
    github.com/googleapis/gax-go/v2 v2.7.1 // indirect
    github.com/gorilla/mux v1.8.0 // indirect
    github.com/gosuri/uitable v0.0.4 // indirect
    github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
    github.com/hashicorp/errwrap v1.1.0 // indirect
    github.com/hashicorp/hcl v1.0.0 // indirect
    github.com/huandu/xstrings v1.4.0 // indirect
    github.com/imdario/mergo v0.3.13 // indirect
    github.com/in-toto/in-toto-golang v0.3.4-0.20220709202702-fa494aaa0add // indirect
    github.com/inconshreveable/mousetrap v1.0.1 // indirect
    github.com/itchyny/gojq v0.12.5 // indirect
    github.com/itchyny/timefmt-go v0.1.3 // indirect
    github.com/jackc/chunkreader/v2 v2.0.1 // indirect
    github.com/jackc/pgio v1.0.0 // indirect
    github.com/jackc/pgpassfile v1.0.0 // indirect
    github.com/jackc/pgproto3/v2 v2.3.2 // indirect
    github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
    github.com/jackc/pgx/v5 v5.3.0 // indirect
    github.com/jackc/puddle v1.3.0 // indirect
    github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
    github.com/jedisct1/go-minisign v0.0.0-20211028175153-1c139d1cc84b // indirect
    github.com/jinzhu/inflection v1.0.0 // indirect
    github.com/jinzhu/now v1.1.5 // indirect
    github.com/jmespath/go-jmespath v0.4.0 // indirect
    github.com/jmoiron/sqlx v1.3.5 // indirect
    github.com/jonboulle/clockwork v0.3.0 // indirect
    github.com/josharian/intern v1.0.0 // indirect
    github.com/json-iterator/go v1.1.12 // indirect
    github.com/kevinburke/ssh_config v1.2.0 // indirect
    github.com/klauspost/compress v1.16.0 // indirect
    github.com/klauspost/pgzip v1.2.6-0.20220930104621-17e8dac29df8 // indirect
    github.com/knqyf263/go-rpm-version v0.0.0-20220614171824-631e686d1075 // indirect
    github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 // indirect
    github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 // indirect
    github.com/leodido/go-urn v1.2.1 // indirect
    github.com/letsencrypt/boulder v0.0.0-20221109233200-85aa52084eaf // indirect
    github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
    github.com/magiconair/properties v1.8.7 // indirect
    github.com/mattermost/xml-roundtrip-validator v0.1.0 // indirect
    github.com/mattn/go-colorable v0.1.13 // indirect
    github.com/mattn/go-isatty v0.0.17 // indirect
    github.com/mattn/go-runewidth v0.0.14 // indirect
    github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
    github.com/mholt/archiver/v3 v3.5.1 // indirect
    github.com/mitchellh/copystructure v1.2.0 // indirect
    github.com/mitchellh/go-homedir v1.1.0 // indirect
    github.com/mitchellh/mapstructure v1.5.0 // indirect
    github.com/mitchellh/reflectwalk v1.0.2 // indirect
    github.com/moby/locker v1.0.1 // indirect
    github.com/moby/spdystream v0.2.0 // indirect
    github.com/moby/sys/mount v0.3.3 // indirect
    github.com/moby/sys/mountinfo v0.6.2 // indirect
    github.com/moby/sys/symlink v0.2.0 // indirect
    github.com/moby/term v0.0.0-20221205130635-1aeaba878587 // indirect
    github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
    github.com/modern-go/reflect2 v1.0.2 // indirect
    github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
    github.com/morikuni/aec v1.0.0 // indirect
    github.com/mschoch/smat v0.2.0 // indirect
    github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
    github.com/nwaples/rardecode v1.1.0 // indirect
    github.com/oklog/ulid v1.3.1 // indirect
    github.com/opencontainers/runc v1.1.4 // indirect
    github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417 // indirect
    github.com/opentracing/opentracing-go v1.2.0 // indirect
    github.com/operator-framework/operator-lib v0.11.0 // indirect
    github.com/pelletier/go-toml v1.9.5 // indirect
    github.com/pelletier/go-toml/v2 v2.0.5 // indirect
    github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
    github.com/pierrec/lz4/v4 v4.1.2 // indirect
    github.com/pjbgf/sha1cd v0.3.0 // indirect
    github.com/pmezard/go-difflib v1.0.0 // indirect
    github.com/prometheus/procfs v0.9.0 // indirect
    github.com/rivo/uniseg v0.4.3 // indirect
    github.com/rubenv/sql-migrate v1.3.1 // indirect
    github.com/russross/blackfriday/v2 v2.1.0 // indirect
    github.com/sassoftware/relic v0.0.0-20210427151427-dfb082b79b74 // indirect
    github.com/secure-systems-lab/go-securesystemslib v0.4.0 // indirect
    github.com/segmentio/analytics-go/v3 v3.2.1
    github.com/segmentio/backo-go v1.0.1 // indirect
    github.com/shibumi/go-pathspec v1.3.0 // indirect
    github.com/shopspring/decimal v1.3.1 // indirect
    github.com/sigstore/rekor v1.0.1 // indirect
    github.com/sirupsen/logrus v1.9.0 // indirect
    github.com/skeema/knownhosts v1.1.0 // indirect
    github.com/spf13/afero v1.8.2 // indirect
    github.com/spf13/cast v1.5.0 // indirect
    github.com/spf13/jwalterweatherman v1.1.0 // indirect
    github.com/spf13/viper v1.13.0 // indirect
    github.com/stackrox/dotnet-scraper v0.0.0-20201023051640-72ef543323dd // indirect
    github.com/stackrox/istio-cves v0.0.0-20221007013142-0bde9b541ec8 // indirect
    github.com/stackrox/k8s-cves v0.0.0-20220818200547-7d0d1420c58d // indirect
    github.com/steveyen/gtreap v0.1.0 // indirect
    github.com/stretchr/objx v0.5.0 // indirect
    github.com/subosito/gotenv v1.4.1 // indirect
    github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635 // indirect
    github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
    github.com/tent/canonical-json-go v0.0.0-20130607151641-96e4ba3a7613 // indirect
    github.com/theupdateframework/go-tuf v0.5.2-0.20221207161717-9cb61d6e65f5 // indirect
    github.com/tidwall/match v1.1.1 // indirect
    github.com/tidwall/pretty v1.2.0 // indirect
    github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399 // indirect
    github.com/transparency-dev/merkle v0.0.1 // indirect
    github.com/trivago/tgo v1.0.7 // indirect
    github.com/ulikunitz/xz v0.5.11 // indirect
    github.com/vbatts/tar-split v0.11.2 // indirect
    github.com/weppos/publicsuffix-go v0.20.1-0.20221031080346-e4081aa8a6de // indirect
    github.com/willf/bitset v1.1.11 // indirect
    github.com/xanzy/ssh-agent v0.3.3 // indirect
    github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
    github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
    github.com/xeipuuv/gojsonschema v1.2.0 // indirect
    github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect
    github.com/xlab/treeprint v1.1.0 // indirect
    github.com/zmap/zcrypto v0.0.0-20220402174210-599ec18ecbac // indirect
    github.com/zmap/zlint/v3 v3.4.0 // indirect
    go.mongodb.org/mongo-driver v1.11.1 // indirect
    go.opencensus.io v0.24.0 // indirect
    go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5 // indirect
    go.uber.org/multierr v1.10.0 // indirect
    golang.org/x/mod v0.9.0 // indirect
    golang.org/x/term v0.6.0 // indirect
    golang.org/x/text v0.8.0 // indirect
    golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
    gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
    google.golang.org/appengine v1.6.7 // indirect
    google.golang.org/protobuf v1.30.0 // indirect
    gopkg.in/inf.v0 v0.9.1 // indirect
    gopkg.in/ini.v1 v1.67.0 // indirect
    gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
    gopkg.in/warnings.v0 v0.1.2 // indirect
    gopkg.in/yaml.v2 v2.4.0 // indirect
    k8s.io/apiextensions-apiserver v0.26.1 // indirect
    k8s.io/cli-runtime v0.26.0 // indirect
    k8s.io/component-base v0.26.1 // indirect
    k8s.io/klog/v2 v2.90.0 // indirect
    k8s.io/kube-openapi v0.0.0-20230210211930-4b0756abdef5 // indirect
    nhooyr.io/websocket v1.8.7 // indirect
    oras.land/oras-go v1.2.2 // indirect
    sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
    sigs.k8s.io/kustomize/api v0.12.1 // indirect
    sigs.k8s.io/kustomize/kyaml v0.13.9 // indirect
    sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
)

// To bump the version of a replacement package, use:
//
//   $ go mod edit -replace <package>=<replacement>@<branch or commit reference>
//   $ go mod tidy
//
// For example:
//
//   $ go mod edit -replace github.com/operator-framework/helm-operator-plugins=github.com/stackrox/helm-operator@main
//   $ go mod tidy
//
// The `go mod tidy` takes care of normalizing the symbol version information (e.g. branch name) which is required
// for Go build tools to accept the `go.mod`.
replace (
    github.com/blevesearch/bleve => github.com/stackrox/bleve v0.0.0-20220907150529-4ecbd2543f9e

    github.com/facebookincubator/nvdtools => github.com/stackrox/nvdtools v0.0.0-20210326191554-5daeb6395b56
    // we need https://github.com/fullsailor/pkcs7/pull/42 to be merged
    github.com/fullsailor/pkcs7 => github.com/stackrox/pkcs7 v0.0.0-20220914154527-cfdb0aa47179
    github.com/gogo/protobuf => github.com/connorgorman/protobuf v1.2.2-0.20210115205927-b892c1b298f7

    github.com/heroku/docker-registry-client => github.com/stackrox/docker-registry-client v0.0.0-20220204234128-07f109db0819

    // github.com/mikefarah/yaml/v2 is a clone of github.com/go-yaml/yaml/v2.
    // Both github.com/go-yaml/yaml/v2 and github.com/go-yaml/yaml/v3 do not provide go.sum
    // so dependabot is not able to check dependecies.
    // See https://github.com/go-yaml/yaml/issues/772
    // Therefore we point all to our fork of `go-yaml` - github.com/stackrox/yaml/v2|v3
    // where we provide the actual `go.sum`.
    github.com/mikefarah/yaml/v2 => gopkg.in/yaml.v2 v2.4.0

    github.com/nxadm/tail => github.com/stackrox/tail v1.4.9-0.20210831224919-407035634f5d

    // The version of github.com/opencontainers/runc needs to be aligned with the version used in
    // github.com/docker/docker. As of github.com/docker/docker v20.10.18+incompatible,
    // the version of github.com/opencontainers/runc is v1.0.0-rc92 (https://github.com/moby/moby/blob/v20.10.18/vendor.conf#L95).
    // Any time github.com/docker/docker is updated, we should check if github.com/opencontainers/runc should be updated, too.
    github.com/opencontainers/runc => github.com/opencontainers/runc v1.0.0-rc92

    // github.com/stackrox/helm-operator is a modified fork of github.com/operator-framework/helm-operator-plugins that
    // we currently depend on.
    github.com/operator-framework/helm-operator-plugins => github.com/stackrox/helm-operator v0.0.12-0.20221003092512-fbf71229411f
    github.com/tecbot/gorocksdb => github.com/DataDog/gorocksdb v0.0.0-20200107201226-9722c3a2e063
    go.uber.org/zap => github.com/stackrox/zap v1.15.1-0.20200720133746-810fd602fd0f
    // Our fork has a change exposing a method to do generic POST requests
    // against the OAuth server in order to realize the refresh token flow.
    // The problem is that:
    //   (a) the oauth2 library doesn’t support token refresh out of the box;
    //   (b) authenticating with an OAuth server is super complicated because
    //       there is a mix of header auth and body auth in existence, which
    //       the library solves with autosensing + caching, and what we don't
    //       want to reimplement in our code.
    golang.org/x/oauth2 => github.com/stackrox/oauth2 v0.0.0-20230323154701-8854a69ca091

    gopkg.in/yaml.v2 => github.com/stackrox/yaml/v2 v2.4.1
    gopkg.in/yaml.v3 => github.com/stackrox/yaml/v3 v3.0.0
)

exclude k8s.io/client-go v12.0.0+incompatible

exclude github.com/openshift/client-go v3.9.0+incompatible

dependabot.yml content

# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
  - package-ecosystem: 'npm'
    directory: 'ui/'
    schedule:
      interval: 'weekly'
      day: 'wednesday'
    # always update package.json files to match new version for any package in UI monorepo
    versioning-strategy: increase
    open-pull-requests-limit: 10
    labels:
      - "dependencies"
      - "area/ui"
    reviewers:
      - "stackrox/ui-dep-updaters"

  - package-ecosystem: 'gradle'
    directory: 'qa-tests-backend/'
    schedule:
      interval: 'daily'
    open-pull-requests-limit: 1
    labels:
      - "ci-all-qa-tests"
      - "dependencies"
      - "auto-merge"
    reviewers:
      - "stackrox/backend-dep-updaters"

  - package-ecosystem: 'gomod'
    directory: '/'
    schedule:
      interval: 'daily'
    open-pull-requests-limit: 3
    labels:
      - "ci-all-qa-tests"
      - "dependencies"
      - "auto-merge"
    reviewers:
      - "stackrox/backend-dep-updaters"
    ignore:
      - dependency-name: "github.com/aws/aws-sdk-go"
        update-types: ["version-update:semver-patch"]

  - package-ecosystem: 'gomod'
    directory: '/tools/linters/'
    schedule:
      interval: 'weekly'
      day: 'wednesday'
    open-pull-requests-limit: 3
    labels:
    - "dependencies"
    - "auto-merge"
    reviewers:
      - "stackrox/backend-dep-updaters"

  - package-ecosystem: 'gomod'
    directory: '/tools/test/'
    schedule:
      interval: 'weekly'
      day: 'wednesday'
    open-pull-requests-limit: 3
    labels:
    - "dependencies"
    - "auto-merge"
    reviewers:
      - "stackrox/backend-dep-updaters"

  - package-ecosystem: 'gomod'
    directory: '/operator/tools/'
    schedule:
      interval: 'weekly'
      day: 'wednesday'
    open-pull-requests-limit: 1
    labels:
    - "dependencies"
    - "area/operator"
    - "auto-merge"
    reviewers:
    - "stackrox/backend-dep-updaters"

  - package-ecosystem: 'docker'
    directory: 'operator/'
    schedule:
      interval: 'weekly'
      day: 'wednesday'
    open-pull-requests-limit: 1
    labels:
    - "dependencies"
    - "area/operator"
    - "auto-merge"
    reviewers:
    - "stackrox/backend-dep-updaters"

  - package-ecosystem: 'docker'
    directory: 'image/rhel'
    schedule:
      interval: 'weekly'
      day: 'wednesday'
    open-pull-requests-limit: 1
    labels:
    - "ci-all-qa-tests"
    - "dependencies"
    reviewers:
    - "stackrox/backend-dep-updaters"

  - package-ecosystem: 'docker'
    directory: 'image/postgres'
    schedule:
      interval: 'weekly'
      day: 'wednesday'
    open-pull-requests-limit: 1
    labels:
    - "ci-all-qa-tests"
    - "dependencies"
    reviewers:
    - "stackrox/backend-dep-updaters"

  - package-ecosystem: "github-actions"
    directory: "/"
    schedule:
      interval: 'weekly'
      day: 'wednesday'
    open-pull-requests-limit: 1
    reviewers:
    - "stackrox/backend-dep-updaters"

Updated dependency

github.com/dexidp/dex from 0.0.0-20230320125501-2bb4896d120e to 2.13.0+incompatible

What you expected to see, versus what you actually saw

I'd expect using latest master commit instead of old version.

Native package manager behavior

No response

Images of the diff or a link to the PR, issue, or logs

https://github.com/stackrox/stackrox/pull/5465

Smallest manifest that reproduces the issue

No response

jakecoffman commented 1 year ago

From a semver perspective this is an upgrade, since it goes from a 0.0.0 prerelease to a 2.13.0 prerelease.

The issue seems to be that since dex is tagging branches and not the main branch, the Go tooling is generating a v0.0.0-* pseudo-version rather than a v2.36.0-* one when running go get github.com/dexidp/dex@master.

Dependabot doesn't currently support upgrading to unreleased versions, but it's still a possibility: https://github.com/dependabot/dependabot-core/issues/2028

I would suggest adding that dependency to the ignores if you don't want to go to releases because Dependabot will keep trying to upgrade it.

jeffwidman commented 1 year ago

Closing, as I'm not sure there's anything we can do here, beyond #2028 which is already open.