aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/python.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/rosa/python.go')
-rw-r--r--internal/rosa/python.go19
1 files changed, 16 insertions, 3 deletions
diff --git a/internal/rosa/python.go b/internal/rosa/python.go
index 754c68c1..9fbace8b 100644
--- a/internal/rosa/python.go
+++ b/internal/rosa/python.go
@@ -449,17 +449,30 @@ func init() {
}
func init() {
- artifactsM[PythonPyTest] = newPypi(
+ const (
+ version = "9.0.3"
+ checksum = "qfLL_znWhbJCDbNJvrx9H3-orJ86z4ifhaW0bIn21jl2sDP-FVoX_1yieOypArQe"
+ )
+ artifactsM[PythonPyTest] = newPythonPackage(
"pytest", 3765,
"the pytest framework",
- "9.0.3", "py3", "none", "any",
- "57WLrIVOfyoRDjt5qD6LGOaDcDCtzQnKDSTUb7GzHyJDtry_nGHHs4-0tW0tiIJr",
+ "https://pytest.org",
+ version, newFromGitHub(
+ "pytest-dev/pytest",
+ version, checksum,
+ ), &PackageAttr{
+ Env: []string{
+ "SETUPTOOLS_SCM_PRETEND_VERSION_FOR_PYTEST=" + version,
+ },
+ }, nil, P{PythonSetuptoolsSCM},
PythonIniConfig,
PythonPackaging,
PythonPluggy,
PythonPygments,
)
+}
+func init() {
artifactsM[PythonMarkupSafe] = newPypi(
"markupsafe", 3918,
"implements a text object that escapes characters so it is safe to use in HTML and XML",