jolt 0.9.433__py3-none-any.whl → 0.9.436__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.
jolt/plugins/cxxinfo.py CHANGED
@@ -31,8 +31,8 @@ class CppInfo(ArtifactAttributeSet):
31
31
  return CppInfoListVariable(self._artifact, "asflags")
32
32
  if name == "cflags":
33
33
  return CppInfoListVariable(self._artifact, "cflags")
34
- if name == "crt":
35
- return CppInfoStringVariable(self._artifact, "crt")
34
+ if name == "msvcrt":
35
+ return CppInfoStringVariable(self._artifact, "msvcrt")
36
36
  if name == "cxxflags":
37
37
  return CppInfoListVariable(self._artifact, "cxxflags")
38
38
  if name == "incpaths":
jolt/plugins/ninja.py CHANGED
@@ -22,8 +22,8 @@ from jolt.error import raise_task_error_if
22
22
  from jolt.error import JoltError, JoltCommandError
23
23
 
24
24
 
25
- c_standard_default = 17
26
- cxx_standard_default = 17
25
+ c_standard_default = None
26
+ cxx_standard_default = None
27
27
  c_standards_list = [90, 99, 11, 17, 23]
28
28
  cxx_standards_list = [98, 11, 14, 17, 20, 23, 26]
29
29
 
@@ -1838,13 +1838,13 @@ class MSVCCRT(Variable):
1838
1838
 
1839
1839
  def _select_dep_flags(self, project, dep):
1840
1840
  crt = self._select_flag(dep.cxxinfo.asflags.items())
1841
- if hasattr(dep.cxxinfo, "crt"):
1842
- crt = self._combine(project, crt, self._select_flag([str(dep.cxxinfo.crt)]))
1841
+ if hasattr(dep.cxxinfo, "msvcrt"):
1842
+ crt = self._combine(project, crt, self._select_flag([str(dep.cxxinfo.msvcrt)]))
1843
1843
  crt = self._combine(project, crt, self._select_flag(dep.cxxinfo.cflags.items()))
1844
1844
  return self._combine(project, crt, self._select_flag(dep.cxxinfo.cxxflags.items()))
1845
1845
 
1846
1846
  def create(self, project, writer, deps, tools):
1847
- crt = self._select_flag(getattr(project, "crt", None))
1847
+ crt = self._select_flag(getattr(project, "msvcrt", None))
1848
1848
  crt = self._combine(project, crt, self._select_flag(project._asflags()))
1849
1849
  crt = self._combine(project, crt, self._select_flag(project._cflags()))
1850
1850
  crt = self._combine(project, crt, self._select_flag(project._cxxflags()))
@@ -1854,7 +1854,7 @@ class MSVCCRT(Variable):
1854
1854
 
1855
1855
  @utils.cached.instance
1856
1856
  def get_influence(self, task):
1857
- return "CRT"
1857
+ return "MSVC-CRT"
1858
1858
 
1859
1859
 
1860
1860
  MSVCCompiler = GNUCompiler
@@ -2008,7 +2008,7 @@ class CXXProject(Task):
2008
2008
 
2009
2009
  cstd = None
2010
2010
  """
2011
- C language standard to use (int). Default: 17
2011
+ C language standard to use (int). Default: Compiler default
2012
2012
 
2013
2013
  If the chosen standard is not supported, the nearest supported standard is selected.
2014
2014
  """
@@ -2018,7 +2018,7 @@ class CXXProject(Task):
2018
2018
 
2019
2019
  cxxstd = None
2020
2020
  """
2021
- C++ language standard to use (int). Default: 17
2021
+ C++ language standard to use (int). Default: Compiler default
2022
2022
 
2023
2023
  If the chosen standard is not supported, the nearest supported standard is selected.
2024
2024
  """
jolt/tasks.py CHANGED
@@ -1720,29 +1720,29 @@ class TaskBase(object):
1720
1720
  return not fs.is_relative_to(fname, rootpath)
1721
1721
  return _filter
1722
1722
 
1723
+ # Ignore any files in build directories
1724
+ sources = filter(_subpath_filter(tools.expand_path(tools.buildroot)), sources)
1725
+
1723
1726
  for _, dep in deps.items():
1724
1727
  deptask = dep.task
1725
1728
  if isinstance(deptask, FileInfluence):
1726
1729
  # Resource dependencies may cover the influence implicitly
1727
1730
  deppath = self.tools.expand_path(str(deptask.path))
1728
- sources = set(filter(lambda d: not deptask.is_influenced_by(self, d), sources))
1731
+ sources = filter(lambda d, dt=deptask: not dt.is_influenced_by(self, d), sources)
1729
1732
  else:
1730
1733
  # Ignore any files in artifacts
1731
1734
  deppath = self.tools.expand_path(dep.path)
1732
- sources = set(filter(_subpath_filter(deppath), sources))
1733
-
1734
- # Ignore any files in build directories
1735
- sources = filter(_subpath_filter(tools.expand_path(tools.buildroot)), sources)
1736
- sources = set(sources)
1735
+ sources = filter(_subpath_filter(deppath), sources)
1737
1736
 
1738
1737
  for ip in self.influence:
1739
1738
  if not isinstance(ip, FileInfluence):
1740
1739
  continue
1741
- ok = [source for source in sources if ip.is_influenced_by(self, source)]
1742
- sources.difference_update(ok)
1740
+ sources = {source for source in sources if not ip.is_influenced_by(self, source)}
1741
+
1743
1742
  for source in sources:
1744
1743
  log.warning("Missing influence: {} ({})", source, self.name)
1745
- raise_task_error_if(sources, self, "Task is missing source influence")
1744
+
1745
+ raise_task_error_if(set(sources), self, "Task is missing source influence")
1746
1746
 
1747
1747
  def _get_export_objects(self):
1748
1748
  return self._exports
jolt/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "0.9.433"
1
+ __version__ = "0.9.436"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jolt
3
- Version: 0.9.433
3
+ Version: 0.9.436
4
4
  Summary: A task executor
5
5
  Home-page: https://github.com/srand/jolt
6
6
  Author: Robert Andersson
@@ -48,6 +48,7 @@ Requires-Dist: docutils==0.21.2
48
48
  Requires-Dist: fasteners==0.19
49
49
  Requires-Dist: flake8==7.1.1
50
50
  Requires-Dist: grpcio==1.66.1
51
+ Requires-Dist: id==1.5.0
51
52
  Requires-Dist: idna==3.10
52
53
  Requires-Dist: importlib_metadata==8.5.0
53
54
  Requires-Dist: importlib_metadata==8.5.0
@@ -70,7 +71,6 @@ Requires-Dist: ninja==1.11.1.1
70
71
  Requires-Dist: packaging==24.2
71
72
  Requires-Dist: patch-ng==1.18.1
72
73
  Requires-Dist: pip==25.3
73
- Requires-Dist: pkginfo==1.12.0
74
74
  Requires-Dist: pluggy==1.5.0
75
75
  Requires-Dist: pluginbase==1.0.1
76
76
  Requires-Dist: protobuf==5.28.2
@@ -94,7 +94,7 @@ Requires-Dist: setuptools==80.9.0
94
94
  Requires-Dist: six==1.16.0
95
95
  Requires-Dist: texttable==1.7.0
96
96
  Requires-Dist: tqdm==4.66.5
97
- Requires-Dist: twine==6.0.1
97
+ Requires-Dist: twine==6.2.0
98
98
  Requires-Dist: typing_extensions==4.15.0
99
99
  Requires-Dist: urllib3==1.26.20
100
100
  Requires-Dist: wheel==0.45.1
@@ -19,11 +19,11 @@ jolt/log.py,sha256=4QXILd54kYuzAWe1Ql80qw7G2g3upFc3o_XMkRM6Ybg,14941
19
19
  jolt/manifest.py,sha256=V5fkvTE-cZt0IQbA8sBdC4WEaYrz7FEXQdSt6Uj-DWc,7256
20
20
  jolt/options.py,sha256=BrsyKsj3sY5qogMreHGgbimQuyGjnyilCa8QXPVm1Y0,947
21
21
  jolt/scheduler.py,sha256=2xehPvoJDLdv211UdP2cqqQs2M2L5Ozw2_GuE556Tjg,32513
22
- jolt/tasks.py,sha256=Lwaur_V3N-Y5dYdLtQwFQxJgA7r5pKTs2-ehPcPt8FI,118873
22
+ jolt/tasks.py,sha256=OPCWTQlTQX8tkcYnM3nqlHTETza8WVY7QEl5zCoICj0,118813
23
23
  jolt/timer.py,sha256=PE-7vmsqZpF73e_cKSsrhd36-A7fJ9_XGYI_oBWJn5w,644
24
24
  jolt/tools.py,sha256=3ipzEgYz9uWhKOSc8R9d1E1mG64tT5L_HYZVYB5k-OM,82417
25
25
  jolt/utils.py,sha256=1CkK3WoVvkBffmUjMZ_iFXVJOwfwNpzezXBmcwd46Ck,19397
26
- jolt/version.py,sha256=chMIRAnbd_kg59gMd-SDb6XfFVN2gWAVkwXzclKd8T8,24
26
+ jolt/version.py,sha256=cEdo83DWVvxmwzl7qQX_V3tpi3NK2aVSmdDgB-h9ikQ,24
27
27
  jolt/version_utils.py,sha256=tNCGT6ZmSGFHW1aw2Hx1l19m-RR1UnTN6xJV1I54KRw,3900
28
28
  jolt/xmldom.py,sha256=SbygiDUMYczzWGxXa60ZguWS6Nztg8gDAirdbtjT15I,5982
29
29
  jolt/bin/fstree-darwin-x86_64,sha256=i4Ppbdr7CxsEhJzWpy3GMB5Gn5ikmskh41MyUwQS3-o,29549000
@@ -149,7 +149,7 @@ jolt/plugins/cache.py,sha256=8voIlVS4fjJnQE1uMA4BvHJ2B4CQQXUF93IW-_if7fs,4242
149
149
  jolt/plugins/cmake.py,sha256=VOCv6UROB54z4kNcSOn90VcPS35QRULZ9x7RHMcUDN8,4648
150
150
  jolt/plugins/conan.py,sha256=5d7TdQBV1dcwTFfyW-U3jrfJDTpLbnp08Ltra1zTZyc,16259
151
151
  jolt/plugins/cxx.py,sha256=UqcBIcjCphRB2ojknU4v5vRv_6i3CmIAFZS1T3dXWVc,30487
152
- jolt/plugins/cxxinfo.py,sha256=2Qln4WQ0lOW6Jf5GOnl9j6kAQLOo4rYhbOCmOb3mhnY,2600
152
+ jolt/plugins/cxxinfo.py,sha256=T3_JBbYK5cY6n-3iW46Bov9hf62KChd8llyiXerY0rU,2606
153
153
  jolt/plugins/dashboard.py,sha256=5XxU7J33htfc7rxPXTob37rOpehtWZh6N-HVlNHAluM,642
154
154
  jolt/plugins/docker.py,sha256=cVzX9EYsk0DSkSnkArwjhZ7iVfUTYOfLyMoO2uGvdhs,21100
155
155
  jolt/plugins/email.py,sha256=esONwpn7xKJLh4SYGZ0GpSZ2UwzWsckfsAPCeYdZSVw,3549
@@ -168,7 +168,7 @@ jolt/plugins/linux.py,sha256=XuJwr5UFW3_JbitXpZ3A6G_hKRLZ_uTG7-ph01kq6_M,31807
168
168
  jolt/plugins/logstash.py,sha256=ShUdqSRyQL_ATlgHwLP-uI1mJXprs15knyWbk58nMFo,1847
169
169
  jolt/plugins/meson.py,sha256=4cR1KN-319Hf8c4vrL1J33E79BZ5VNkZSZbF8zaUJoo,1580
170
170
  jolt/plugins/ninja-compdb.py,sha256=Otxz-nQnJx-aAPuAf8-T0AOi_34ENHGb5gypGVVGFB0,10989
171
- jolt/plugins/ninja.py,sha256=e0FgO2EhQvgFD68bPndOnhPYGBpngwZMWKJPdrZj_6g,111040
171
+ jolt/plugins/ninja.py,sha256=OqFM_AMFvOubjrMp-Y5pY49jrB97EUiiUn9BqC42_jU,111086
172
172
  jolt/plugins/nodejs.py,sha256=HHDbvmdlqnao3qOtpCD9UY7iyTIX4gb2WxKUBtn-3cM,1879
173
173
  jolt/plugins/paths.py,sha256=DgiPI5K5bV3lVuyNEMIjRO26iTwf6RL5-2WPQ3rSmj8,1920
174
174
  jolt/plugins/pkgconfig.py,sha256=8shyEbs5peLavhV6TeCQJ5SlZCiXmnXLamdqkNMYLxQ,8001
@@ -200,8 +200,8 @@ jolt/templates/cxxexecutable.cmake.template,sha256=f0dg1VOFlamlF8fuHFTki5dsJ2ssS
200
200
  jolt/templates/cxxlibrary.cmake.template,sha256=GMEG2G3QoY3E5fsNer52zOqgM221-abeCkV__mVbZ94,1750
201
201
  jolt/templates/export.sh.template,sha256=PKkflGXFbq70EIsowqcnLvzbnEDnqh_WgC4E_JNT0VE,1937
202
202
  jolt/templates/timeline.html.template,sha256=xdqvFBmhE8XRQaWgcIFBVbd__9HdRq6O-U0o276PyjU,1222
203
- jolt-0.9.433.dist-info/METADATA,sha256=pE3yOe4C6wadkP6yNvcAYWzrsxa8noFTbkvC-FTOoBg,7229
204
- jolt-0.9.433.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
205
- jolt-0.9.433.dist-info/entry_points.txt,sha256=VZ-QH38Z9HJc1O57wfzr-soHn6exwc3N0TSrRum4tYg,44
206
- jolt-0.9.433.dist-info/top_level.txt,sha256=HwzVmAwUrvCUUHRi3zUfcpdKTsdNrZmPCvsrsWSFyqE,5
207
- jolt-0.9.433.dist-info/RECORD,,
203
+ jolt-0.9.436.dist-info/METADATA,sha256=nqJ3IMSFHNP8rbWDJM1qVJUA2XX49rg3oUFXF74GUAE,7223
204
+ jolt-0.9.436.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
205
+ jolt-0.9.436.dist-info/entry_points.txt,sha256=VZ-QH38Z9HJc1O57wfzr-soHn6exwc3N0TSrRum4tYg,44
206
+ jolt-0.9.436.dist-info/top_level.txt,sha256=HwzVmAwUrvCUUHRi3zUfcpdKTsdNrZmPCvsrsWSFyqE,5
207
+ jolt-0.9.436.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: setuptools (80.10.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5