Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPseudoVersion ¶
IsPseudoVersion reports whether v is a go modules pseudo-version. nolint: lll https://github.com/golang/go/blob/9f40f9f4d3e9e5a08cfd1df5af23a6f61d67d408/src/cmd/go/internal/modfetch/pseudo.go#L118
func PyPiVersionFromNpmVersion ¶
PyPiVersionFromNpmVersion returns a PEP-440 compliant version for a given semver version. This method does not support all possible semver strings, but instead just supports versions that we generate for our node packages.
NOTE: We do not include git information in the generated version (even within the local part, which PEP440 would allow) because we publish dev packages to PyPI, which does not allow local parts. Instead, we only add a local part when the build is dirty (which has the nice side effect of preventing us from publishing a build from dirty bits).
Types ¶
This section is empty.