alibuild 1.17.27__py3-none-any.whl → 1.17.29__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {alibuild-1.17.27.dist-info → alibuild-1.17.29.dist-info}/METADATA +1 -2
- {alibuild-1.17.27.dist-info → alibuild-1.17.29.dist-info}/RECORD +15 -15
- alibuild_helpers/_version.py +2 -2
- alibuild_helpers/doctor.py +6 -7
- alibuild_helpers/git.py +1 -1
- tests/test_build.py +1 -1
- tests/test_workarea.py +1 -1
- {alibuild-1.17.27.data → alibuild-1.17.29.data}/scripts/aliBuild +0 -0
- {alibuild-1.17.27.data → alibuild-1.17.29.data}/scripts/aliDeps +0 -0
- {alibuild-1.17.27.data → alibuild-1.17.29.data}/scripts/aliDoctor +0 -0
- {alibuild-1.17.27.data → alibuild-1.17.29.data}/scripts/alienv +0 -0
- {alibuild-1.17.27.data → alibuild-1.17.29.data}/scripts/pb +0 -0
- {alibuild-1.17.27.dist-info → alibuild-1.17.29.dist-info}/WHEEL +0 -0
- {alibuild-1.17.27.dist-info → alibuild-1.17.29.dist-info}/licenses/LICENSE.md +0 -0
- {alibuild-1.17.27.dist-info → alibuild-1.17.29.dist-info}/top_level.txt +0 -0
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: alibuild
|
|
3
|
-
Version: 1.17.
|
|
3
|
+
Version: 1.17.29
|
|
4
4
|
Summary: ALICE Build Tool
|
|
5
5
|
Home-page: https://alisw.github.io/alibuild
|
|
6
6
|
Author: Giulio Eulisse
|
|
7
7
|
Author-email: Giulio Eulisse <giulio.eulisse@cern.ch>, Timo Wilken <timo.wilken@cern.ch>, Sergio Garcia <sergio.garcia@cern.ch>
|
|
8
|
-
License-Expression: GPL-3.0-only
|
|
9
8
|
Project-URL: homepage, https://alisw.github.io/alibuild
|
|
10
9
|
Keywords: HEP,ALICE
|
|
11
10
|
Classifier: Development Status :: 5 - Production/Stable
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
alibuild-1.17.
|
|
2
|
-
alibuild-1.17.
|
|
3
|
-
alibuild-1.17.
|
|
4
|
-
alibuild-1.17.
|
|
5
|
-
alibuild-1.17.
|
|
6
|
-
alibuild-1.17.
|
|
1
|
+
alibuild-1.17.29.data/scripts/aliBuild,sha256=5g-apCjhc9cvtFvKSP0yr6IJtChNvtTAP-BtPL-91M8,4307
|
|
2
|
+
alibuild-1.17.29.data/scripts/aliDeps,sha256=fhfPB2NpuLj8bZZPUjJW2e4VxA8ZkHlp5q76xAOzufI,219
|
|
3
|
+
alibuild-1.17.29.data/scripts/aliDoctor,sha256=gQwLcNGAm7_QF7FFCtmtFXEoroKsRonNMA7UP4DS1y4,221
|
|
4
|
+
alibuild-1.17.29.data/scripts/alienv,sha256=8QihJOzKue4oeuIM31MsoX8Fw7FNZ4zY7wyK6UYtgTE,12568
|
|
5
|
+
alibuild-1.17.29.data/scripts/pb,sha256=LfkIUyX3xXxmaGSdtAbA-dS1Y1eEShEHpmto1tIEga0,211
|
|
6
|
+
alibuild-1.17.29.dist-info/licenses/LICENSE.md,sha256=WJ7YI-moTFb-uVrFjnzzhGJrnL9P2iqQe8NuED3hutI,35141
|
|
7
7
|
alibuild_helpers/__init__.py,sha256=ZAhyhRxOkiTA1fMzwEKACY8Eo8MdWp1MawVicFlvQWk,736
|
|
8
|
-
alibuild_helpers/_version.py,sha256=
|
|
8
|
+
alibuild_helpers/_version.py,sha256=NlTyhtdeLFxy9mDSGB683NzFpPHGHl5Qs1LtrwVU56M,708
|
|
9
9
|
alibuild_helpers/analytics.py,sha256=fuiOagDngFnodGo7upMWeY-RjTTncDRz5Kwz8zxUr9o,4579
|
|
10
10
|
alibuild_helpers/args.py,sha256=T0nOOMCpJZdJkEPZENz7nOsaYIfeZ7qHfAR1Vx4-T2Y,31694
|
|
11
11
|
alibuild_helpers/build.py,sha256=FLeSwo-q_o6bPARbgKm1-pnwax1xe5ulc42bjSKqrog,56994
|
|
@@ -13,8 +13,8 @@ alibuild_helpers/build_template.sh,sha256=e7nh8ZhNH-z0LPkuETYVYlgM75EfhoCo__hn1Q
|
|
|
13
13
|
alibuild_helpers/clean.py,sha256=-LeQUYDwxihzGJi4rCiuALu051T44-0cV8S6-l_lCaQ,3250
|
|
14
14
|
alibuild_helpers/cmd.py,sha256=5tdxtyrHDzmdSVIA0pzxBoici1GZDS0fUStbX85r6ao,5906
|
|
15
15
|
alibuild_helpers/deps.py,sha256=nHLyNqVuTUfW5bqfzCDxAaVVsklv5wHMl4FMMfTQF-8,4909
|
|
16
|
-
alibuild_helpers/doctor.py,sha256=
|
|
17
|
-
alibuild_helpers/git.py,sha256=
|
|
16
|
+
alibuild_helpers/doctor.py,sha256=CSvfwmD28NRmvSnmZRTHWaf11pAoSIlMxJ1yW00Xh9c,9685
|
|
17
|
+
alibuild_helpers/git.py,sha256=20JDRZX0wbJdsK__AI_nnS2rQmgElrMMD-OT6TDHCUU,4015
|
|
18
18
|
alibuild_helpers/init.py,sha256=GmVLXqMS-aXqPnCk5dgAONMQFe7MqjlEtXtcQ1a-0qY,5009
|
|
19
19
|
alibuild_helpers/log.py,sha256=OEflXNcGNgvVYLZbvVwd2Inyt12tnEw5RgkrsiAT2c0,4700
|
|
20
20
|
alibuild_helpers/scm.py,sha256=pZfEnTgr_ILmtRT3BXeoYVJGq9rjigLXOLAGJMsnDko,1019
|
|
@@ -43,7 +43,7 @@ docs/docs/stylesheets/extra.css,sha256=NAFcBZQe8gh2CTpJFwyv93FvblnF5RaEjtsHxtlFD
|
|
|
43
43
|
templates/alibuild_to_please.jnj,sha256=48SfIwq55zlb5_5lu6WAHSznXE0EfUNcHmFrmzMUSns,1723
|
|
44
44
|
tests/test_analytics.py,sha256=IlxATGj-MU0sTVqpi2-EKrIhyV9C48K5IZ39kWFz-Os,1942
|
|
45
45
|
tests/test_args.py,sha256=8d8BybESxbIDvEOOSHmmd2rCTgNxI_vF-sgbDojI-Fg,8867
|
|
46
|
-
tests/test_build.py,sha256=
|
|
46
|
+
tests/test_build.py,sha256=d8R3OlZXwBguZzJ6jmo_TEBGBMq6-N3MAytW1t3hl3U,18514
|
|
47
47
|
tests/test_clean.py,sha256=Zm3gjtO8Pgl27xUzQIHeGqpe05YMVXZp6Sua59prvcE,7492
|
|
48
48
|
tests/test_cmd.py,sha256=SsWWasMrhbIu9Lqyr_wpuvDjg72ACJ1H_zDlTnybBuE,5049
|
|
49
49
|
tests/test_deps.py,sha256=bLDFuqLRJiCW4U71dzXYM0Niv-skQXSsKGb6LXGVsZ0,2113
|
|
@@ -56,7 +56,7 @@ tests/test_packagelist.py,sha256=MlVParqXn7zQXX3OTjHhY7sFvfgAoH-jWBMJlmsB5ls,875
|
|
|
56
56
|
tests/test_parseRecipe.py,sha256=Ar1SWWd-NLC6ZAs180RcHC3UPyWc1ItzIP9S57ADNM4,4982
|
|
57
57
|
tests/test_sync.py,sha256=2CyZcC4gKCFo85pfJYn4r196eet0TG5bolL8EofGqFQ,14014
|
|
58
58
|
tests/test_utilities.py,sha256=VfAu0oEWkO6YmOG4nZxA4YC3KViLGJZ79EJiapk88Rg,20497
|
|
59
|
-
tests/test_workarea.py,sha256=
|
|
59
|
+
tests/test_workarea.py,sha256=RIbo9b4hckkf9jmsS2NwfdcRU20QRUF_Kjjc-IlK2GU,4897
|
|
60
60
|
tests/testdist/broken1.sh,sha256=zdbBCVA9ThnK14Lu9Nm6Firw2EcnRF7budMA3xrcYEg,7
|
|
61
61
|
tests/testdist/broken2.sh,sha256=9S1xEQPVCkN4MMb7zQT7S6tJoPgvbSbRx5HG6EiN0JA,4
|
|
62
62
|
tests/testdist/broken3.sh,sha256=1Zs7ajCIndFPYCQdSjg913x5gNBYakUehTUXLpMQSEU,18
|
|
@@ -68,7 +68,7 @@ tests/testdist/clobber-initdotsh.sh,sha256=K4L8hiEgNg0hI2WAiEA65rWU5sp-fwOYkubpV
|
|
|
68
68
|
tests/testdist/defaults-o2.sh,sha256=IJWVMYjQYz876twos1bj-5VnPv7WTdM0X-fd09j4xxM,325
|
|
69
69
|
tests/testdist/delete-etc.sh,sha256=NFMApyWMLQu3HJMsx0x8ZEveCaXbosO6XzJk8KDRJdg,63
|
|
70
70
|
tests/testdist/tracking-env.sh,sha256=3cJszuzJ5dxNYvHO4ydUOWIXwmMS7wfeb-JBCDK21O4,119
|
|
71
|
-
alibuild-1.17.
|
|
72
|
-
alibuild-1.17.
|
|
73
|
-
alibuild-1.17.
|
|
74
|
-
alibuild-1.17.
|
|
71
|
+
alibuild-1.17.29.dist-info/METADATA,sha256=q1tYOUZrKM49Qsr-Q5JdGo3YNrwNuWMOfXxeaxumG4Q,2231
|
|
72
|
+
alibuild-1.17.29.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
73
|
+
alibuild-1.17.29.dist-info/top_level.txt,sha256=WjKmc89Vn0WlbEp9a9VmhwqRkeKxjUX_6NT3T8K3Hv0,45
|
|
74
|
+
alibuild-1.17.29.dist-info/RECORD,,
|
alibuild_helpers/_version.py
CHANGED
|
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
__commit_id__: COMMIT_ID
|
|
30
30
|
|
|
31
|
-
__version__ = version = '1.17.
|
|
32
|
-
__version_tuple__ = version_tuple = (1, 17,
|
|
31
|
+
__version__ = version = '1.17.29'
|
|
32
|
+
__version_tuple__ = version_tuple = (1, 17, 29)
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
alibuild_helpers/doctor.py
CHANGED
|
@@ -22,7 +22,8 @@ def checkPreferSystem(spec, cmd, homebrew_replacement, getstatusoutput_docker):
|
|
|
22
22
|
debug("Package %s can only be managed via alibuild.", spec["package"])
|
|
23
23
|
return (1, "")
|
|
24
24
|
cmd = homebrew_replacement + cmd
|
|
25
|
-
|
|
25
|
+
with tempfile.TemporaryDirectory(prefix=f"alibuild_prefer_check_{spec['package']}_") as temp_dir:
|
|
26
|
+
err, out = getstatusoutput_docker(cmd, cwd=temp_dir)
|
|
26
27
|
if not err:
|
|
27
28
|
success("Package %s will be picked up from the system.", spec["package"])
|
|
28
29
|
for x in out.split("\n"):
|
|
@@ -40,7 +41,8 @@ def checkRequirements(spec, cmd, homebrew_replacement, getstatusoutput_docker):
|
|
|
40
41
|
debug("Package %s is not a system requirement.", spec["package"])
|
|
41
42
|
return (0, "")
|
|
42
43
|
cmd = homebrew_replacement + cmd
|
|
43
|
-
|
|
44
|
+
with tempfile.TemporaryDirectory(prefix=f"alibuild_prefer_check_{spec['package']}_") as temp_dir:
|
|
45
|
+
err, out = getstatusoutput_docker(cmd, cwd=temp_dir)
|
|
44
46
|
if not err:
|
|
45
47
|
success("Required package %s will be picked up from the system.", spec["package"])
|
|
46
48
|
debug("%s", cmd)
|
|
@@ -148,9 +150,6 @@ def doDoctor(args, parser):
|
|
|
148
150
|
extra_env.update(dict([e.partition('=')[::2] for e in args.environment]))
|
|
149
151
|
|
|
150
152
|
with DockerRunner(args.dockerImage, args.docker_extra_args, extra_env=extra_env, extra_volumes=[f"{os.path.abspath(args.configDir)}:/alidist:ro"] if args.docker else []) as getstatusoutput_docker:
|
|
151
|
-
def performPreferCheckWithTempDir(pkg, cmd):
|
|
152
|
-
with tempfile.TemporaryDirectory(prefix=f"alibuild_prefer_check_{pkg['package']}_") as temp_dir:
|
|
153
|
-
return getstatusoutput_docker(cmd, cwd=temp_dir)
|
|
154
153
|
fromSystem, own, failed, validDefaults = \
|
|
155
154
|
getPackageList(packages = packages,
|
|
156
155
|
specs = specs,
|
|
@@ -160,8 +159,8 @@ def doDoctor(args, parser):
|
|
|
160
159
|
architecture = args.architecture,
|
|
161
160
|
disable = args.disable,
|
|
162
161
|
defaults = args.defaults,
|
|
163
|
-
performPreferCheck =
|
|
164
|
-
performRequirementCheck =
|
|
162
|
+
performPreferCheck = lambda pkg, cmd: checkPreferSystem(pkg, cmd, homebrew_replacement, getstatusoutput_docker),
|
|
163
|
+
performRequirementCheck = lambda pkg, cmd: checkRequirements(pkg, cmd, homebrew_replacement, getstatusoutput_docker),
|
|
165
164
|
performValidateDefaults = performValidateDefaults,
|
|
166
165
|
overrides = overrides,
|
|
167
166
|
taps = taps,
|
alibuild_helpers/git.py
CHANGED
|
@@ -68,7 +68,7 @@ class Git(SCM):
|
|
|
68
68
|
return ["checkout", "-f", tag]
|
|
69
69
|
|
|
70
70
|
def fetchCmd(self, remote, *refs):
|
|
71
|
-
return ["fetch", "-f"] + clone_speedup_options() + [remote, *refs]
|
|
71
|
+
return ["fetch", "-f", "--prune"] + clone_speedup_options() + [remote, *refs]
|
|
72
72
|
|
|
73
73
|
def setWriteUrlCmd(self, url):
|
|
74
74
|
return ["remote", "set-url", "--push", "origin", url]
|
tests/test_build.py
CHANGED
|
@@ -101,7 +101,7 @@ GIT_SET_URL_ZLIB_ARGS = ("remote", "set-url", "--push", "origin", "https://githu
|
|
|
101
101
|
GIT_CHECKOUT_ZLIB_ARGS = ("checkout", "-f", "master"), \
|
|
102
102
|
"/sw/SOURCES/zlib/v1.2.3/8822efa61f", False
|
|
103
103
|
|
|
104
|
-
GIT_FETCH_REF_ROOT_ARGS = ("fetch", "-f", "--filter=blob:none", "https://github.com/root-mirror/root", "+refs/tags/*:refs/tags/*",
|
|
104
|
+
GIT_FETCH_REF_ROOT_ARGS = ("fetch", "-f", "--prune", "--filter=blob:none", "https://github.com/root-mirror/root", "+refs/tags/*:refs/tags/*",
|
|
105
105
|
"+refs/heads/*:refs/heads/*"), "/sw/MIRROR/root", False
|
|
106
106
|
GIT_CLONE_SRC_ROOT_ARGS = ("clone", "-n", "https://github.com/root-mirror/root",
|
|
107
107
|
"/sw/SOURCES/ROOT/v6-08-30/f7b3366117",
|
tests/test_workarea.py
CHANGED
|
@@ -57,7 +57,7 @@ class WorkareaTestCase(unittest.TestCase):
|
|
|
57
57
|
mock_exists.assert_has_calls([])
|
|
58
58
|
mock_makedirs.assert_called_with("%s/sw/MIRROR" % getcwd(), exist_ok=True)
|
|
59
59
|
mock_git.assert_called_once_with([
|
|
60
|
-
"fetch", "-f", "--filter=blob:none", spec["source"], "+refs/tags/*:refs/tags/*", "+refs/heads/*:refs/heads/*",
|
|
60
|
+
"fetch", "-f", "--prune", "--filter=blob:none", spec["source"], "+refs/tags/*:refs/tags/*", "+refs/heads/*:refs/heads/*",
|
|
61
61
|
], directory="%s/sw/MIRROR/aliroot" % getcwd(), check=False, prompt=True)
|
|
62
62
|
self.assertEqual(spec.get("reference"), "%s/sw/MIRROR/aliroot" % getcwd())
|
|
63
63
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|