ScriptCollection 3.5.8__py3-none-any.whl → 3.5.10__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.
@@ -29,7 +29,7 @@ from .ProgramRunnerBase import ProgramRunnerBase
29
29
  from .ProgramRunnerPopen import ProgramRunnerPopen
30
30
  from .ProgramRunnerEpew import ProgramRunnerEpew, CustomEpewArgument
31
31
 
32
- version = "3.5.8"
32
+ version = "3.5.10"
33
33
  __version__ = version
34
34
 
35
35
 
@@ -275,7 +275,7 @@ class ScriptCollectionCore:
275
275
 
276
276
  @GeneralUtilities.check_arguments
277
277
  def git_pull(self, folder: str, remote: str, localbranchname: str, remotebranchname: str) -> None:
278
- self.run_program("git", f"pull {folder} {remote} {remotebranchname}:{localbranchname}", folder, throw_exception_if_exitcode_is_not_zero=True, verbosity=0)
278
+ self.run_program("git", f"pull {remote} {remotebranchname}:{localbranchname}", folder, throw_exception_if_exitcode_is_not_zero=True, verbosity=0)
279
279
 
280
280
  @GeneralUtilities.check_arguments
281
281
  def git_list_remote_branches(self, folder: str, remote: str, fetch: bool) -> list[str]:
@@ -1605,7 +1605,8 @@ DNS = {domain}
1605
1605
  lines = GeneralUtilities.read_lines_from_file(file)
1606
1606
  new_lines = []
1607
1607
  for line in lines:
1608
- new_lines.append(self.__get_updated_line_for_python_requirements(line.strip()))
1608
+ if GeneralUtilities.string_has_content(line):
1609
+ new_lines.append(self.__get_updated_line_for_python_requirements(line.strip()))
1609
1610
  GeneralUtilities.write_lines_to_file(file, new_lines)
1610
1611
 
1611
1612
  @GeneralUtilities.check_arguments
@@ -1883,7 +1883,7 @@ class TasksForCommonProjectStructure:
1883
1883
  root: etree._ElementTree = etree.parse(codeunit_file)
1884
1884
  ignoreddependencies = root.xpath('//cps:codeunit/cps:properties/cps:updatesettings/cps:ignoreddependencies/cps:ignoreddependency', namespaces=namespaces)
1885
1885
  result = [x.text.replace("\\n", "").replace("\\r", "").replace("\n", "").replace("\r", "").strip() for x in ignoreddependencies]
1886
- if print_warnings_for_ignored_dependencies and len(result > 0):
1886
+ if print_warnings_for_ignored_dependencies and len(result) > 0:
1887
1887
  GeneralUtilities.write_message_to_stderr(f"Warning: Codeunit {codeunit_name} contains the following dependencies which will are ignoed for automatic updates: "+', '.join(result))
1888
1888
  return result
1889
1889
 
@@ -2569,13 +2569,13 @@ class TasksForCommonProjectStructure:
2569
2569
  GeneralUtilities.write_message_to_stdout("Release will not be done because there are no changed which can be released.")
2570
2570
  return False, None
2571
2571
  else:
2572
+ self.__sc.git_checkout(repository_folder, merge_source_branch)
2572
2573
  reference_repo: str = os.path.join(build_repository_folder, "Submodules", f"{generic_create_release_arguments.product_name}Reference")
2573
2574
  self.__sc.git_commit(reference_repo, "Updated reference")
2574
2575
  self.__sc.git_commit(build_repository_folder, "Updated submodule")
2575
2576
 
2576
2577
  # create release
2577
2578
  new_version = self.merge_to_stable_branch(generic_create_release_arguments.current_file, createReleaseConfiguration)
2578
- self.__sc.git_checkout(repository_folder, merge_source_branch)
2579
2579
  return True, new_version
2580
2580
 
2581
2581
  class UpdateHTTPDocumentationArguments:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ScriptCollection
3
- Version: 3.5.8
3
+ Version: 3.5.10
4
4
  Summary: The ScriptCollection is the place for reusable scripts.
5
5
  Home-page: https://github.com/anionDev/ScriptCollection
6
6
  Author: Marius Göcke
@@ -23,25 +23,25 @@ Classifier: Topic :: Utilities
23
23
  Requires-Python: >=3.10
24
24
  Description-Content-Type: text/markdown
25
25
  Requires-Dist: build >=1.2.1
26
- Requires-Dist: coverage >=7.5.1
27
- Requires-Dist: cyclonedx-bom >=4.4.3
26
+ Requires-Dist: coverage >=7.6.0
27
+ Requires-Dist: cyclonedx-bom >=4.5.0
28
28
  Requires-Dist: defusedxml >=0.7.1
29
29
  Requires-Dist: keyboard >=0.13.5
30
30
  Requires-Dist: lcov-cobertura >=2.0.2
31
31
  Requires-Dist: lxml >=5.2.2
32
32
  Requires-Dist: ntplib >=0.4.0
33
- Requires-Dist: Pillow >=10.3.0
33
+ Requires-Dist: Pillow >=10.4.0
34
34
  Requires-Dist: pycdlib >=1.14.0
35
35
  Requires-Dist: Pygments >=2.18.0
36
- Requires-Dist: pylint >=3.2.0
37
- Requires-Dist: pyOpenSSL >=24.1.0
36
+ Requires-Dist: pylint >=3.2.6
37
+ Requires-Dist: pyOpenSSL >=24.2.1
38
38
  Requires-Dist: PyPDF2 >=3.0.1
39
- Requires-Dist: pytest >=8.2.0
39
+ Requires-Dist: pytest >=8.3.2
40
40
  Requires-Dist: PyYAML >=6.0.1
41
41
  Requires-Dist: qrcode >=7.4.2
42
42
  Requires-Dist: send2trash >=1.8.3
43
- Requires-Dist: twine >=5.0.0
44
- Requires-Dist: xmlschema >=3.3.1
43
+ Requires-Dist: twine >=5.1.1
44
+ Requires-Dist: xmlschema >=3.3.2
45
45
 
46
46
  # ScriptCollection
47
47
 
@@ -5,12 +5,12 @@ ScriptCollection/ProgramRunnerBase.py,sha256=W4MaDroJHARRtcvPkBC2AS_qgDSRIqOkMvG
5
5
  ScriptCollection/ProgramRunnerEpew.py,sha256=lx_jR3W8KavBpZo44u2FrOca_EWWgUb3_w_YKGRrAyM,6471
6
6
  ScriptCollection/ProgramRunnerPopen.py,sha256=5QFplojwfGS8_WdYrg5nE6__QFB5iaMA0EP8OGfgPoY,3526
7
7
  ScriptCollection/RPStream.py,sha256=NRRHL3YSP3D9MuAV2jB_--0KUKCsvJGxeKnxgrRZ9kY,1545
8
- ScriptCollection/ScriptCollectionCore.py,sha256=muGC1Xd3xbBU8ZkIocvnE4_5IJd8mfHdE2b4fwzBGB4,97508
9
- ScriptCollection/TasksForCommonProjectStructure.py,sha256=jExRHYZQfRJWY4NDboREI1NfYjHMvIabsKZ05qi8DoA,186707
8
+ ScriptCollection/ScriptCollectionCore.py,sha256=TZQ1Z2mo9FcqzddxmFnFvJ01clasE4dFN5DQuIKlpVY,97563
9
+ ScriptCollection/TasksForCommonProjectStructure.py,sha256=Wk7nAbSI1BevltSmWRC4CKtKH3XsavpVM5PHaCiTlRQ,186707
10
10
  ScriptCollection/UpdateCertificates.py,sha256=lfmVuify-Fqq-vGJusDDUsJVhA-rVLwW2Jx9iLwmkBo,7916
11
11
  ScriptCollection/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
- ScriptCollection-3.5.8.dist-info/METADATA,sha256=Ek02QzQWx7ZT6xSxEDI8TvGBhUFCRdb735Xj6BjIveE,7679
13
- ScriptCollection-3.5.8.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
14
- ScriptCollection-3.5.8.dist-info/entry_points.txt,sha256=dwvB9HRGvqst5xlYIGmmwuFN7lBKhxvndmnNrQOfu8w,2153
15
- ScriptCollection-3.5.8.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
16
- ScriptCollection-3.5.8.dist-info/RECORD,,
12
+ ScriptCollection-3.5.10.dist-info/METADATA,sha256=V0RkV2wEdYxh9fFHQSmSYh-yaSvDkhTKyw5VQaCZVr8,7680
13
+ ScriptCollection-3.5.10.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
14
+ ScriptCollection-3.5.10.dist-info/entry_points.txt,sha256=dwvB9HRGvqst5xlYIGmmwuFN7lBKhxvndmnNrQOfu8w,2153
15
+ ScriptCollection-3.5.10.dist-info/top_level.txt,sha256=hY2hOVH0V0Ce51WB76zKkIWTUNwMUdHo4XDkR2vYVwg,17
16
+ ScriptCollection-3.5.10.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (71.1.0)
2
+ Generator: setuptools (72.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5