tinybird-cli 3.0.0.dev11__py3-none-any.whl → 3.0.0.dev12__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.
tinybird/__cli__.py CHANGED
@@ -4,5 +4,5 @@ __description__ = 'Tinybird Command Line Tool'
4
4
  __url__ = 'https://docs.tinybird.co/cli.html'
5
5
  __author__ = 'Tinybird'
6
6
  __author_email__ = 'support@tinybird.co'
7
- __version__ = '3.0.0.dev11'
8
- __revision__ = 'cf0d9cb'
7
+ __version__ = '3.0.0.dev12'
8
+ __revision__ = 'f798337'
@@ -21,7 +21,13 @@ from click import Context
21
21
  from packaging import version
22
22
 
23
23
  import tinybird.context as context
24
- from tinybird.client import AuthException, AuthNoTokenException, DoesNotExistException, TinyB
24
+ from tinybird.client import (
25
+ AuthException,
26
+ AuthNoTokenException,
27
+ DoesNotExistException,
28
+ OperationCanNotBePerformed,
29
+ TinyB,
30
+ )
25
31
  from tinybird.config import CURRENT_VERSION, SUPPORTED_CONNECTORS, VERSION, FeatureFlags, get_config
26
32
  from tinybird.datafile import (
27
33
  AlreadyExistsException,
@@ -1477,7 +1483,10 @@ async def deploy(
1477
1483
 
1478
1484
  if new_release:
1479
1485
  if not dry_run:
1480
- await create_release(client, config, semver)
1486
+ try:
1487
+ await create_release(client, config, semver)
1488
+ except OperationCanNotBePerformed as e:
1489
+ raise CLIException(FeedbackManager.error_exception(error=str(e)))
1481
1490
  release_created = True
1482
1491
  fork_downstream = True
1483
1492
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tinybird-cli
3
- Version: 3.0.0.dev11
3
+ Version: 3.0.0.dev12
4
4
  Summary: Tinybird Command Line Tool
5
5
  Home-page: https://docs.tinybird.co/cli.html
6
6
  Author: Tinybird
@@ -52,6 +52,11 @@ Changelog
52
52
 
53
53
  ---------
54
54
 
55
+ 3.0.0.dev12
56
+ ************
57
+
58
+ - `Fixed` `tb deploy` now fails with exit 1 in case a release limit has been reached.
59
+
55
60
  3.0.0.dev11
56
61
  ************
57
62
 
@@ -72,13 +77,11 @@ Changelog
72
77
 
73
78
  - `Changed` Initial git files to include mandatory directories
74
79
 
75
-
76
80
  3.0.0.dev7
77
81
  ************
78
82
 
79
83
  - `Added` `tb release rm --oldest-rollback --force --yes` deletes the oldest rollback Release by creation date
80
84
 
81
-
82
85
  3.0.0.dev6
83
86
  ************
84
87
 
@@ -1,4 +1,4 @@
1
- tinybird/__cli__.py,sha256=o3kXCeXqVvP5tQn0sP9Yv8izyYw2f9FYhM35IGis5R0,238
1
+ tinybird/__cli__.py,sha256=NGBbIvgdQsNkcGHLTJwcffCPW20zQ6rEiCxoJ0LewSg,238
2
2
  tinybird/check_pypi.py,sha256=_4NkharLyR_ELrAdit-ftqIWvOf7jZNPt3i76frlo9g,975
3
3
  tinybird/client.py,sha256=lSVGM_7JE7GA6v8gonT6rBbIgVDDeZH9NfS1C5UClNU,45947
4
4
  tinybird/config.py,sha256=ckNiJhDbRm1IGNz_0V712fgiv2XBhDxujUH0EvwYVm4,1962
@@ -21,7 +21,7 @@ tinybird/ch_utils/engine.py,sha256=LzQxPraFN7tTl6YP-xwd3Z2o3BjjD4VNqWDrreC4koI,3
21
21
  tinybird/tb_cli_modules/auth.py,sha256=joR1uS821o2bPTpgDyMCYed9Kw7MutR0aa-YvmIb4zA,8561
22
22
  tinybird/tb_cli_modules/branch.py,sha256=12ZCiD1DEGpW0mNtARb8M2YFJD1f5mkBoNIdDZhBqbk,38103
23
23
  tinybird/tb_cli_modules/cicd.py,sha256=yhnlGkbDa61PovW-45Ts5kRDcTcvDYJFL2PsssStWAY,12746
24
- tinybird/tb_cli_modules/cli.py,sha256=jFV40mv4nFwGlBFhyTYyLpkVxkXXCCVlKL-tS0RQsKI,59752
24
+ tinybird/tb_cli_modules/cli.py,sha256=2JdF8GQ3KXad_IIzV1p6H48QkRZFXfHVUtSGPCv3BNk,59972
25
25
  tinybird/tb_cli_modules/common.py,sha256=dnNkcbcLWBtMzNpqL2BgHhXC31tlZtPeL9elrUQZf-c,75026
26
26
  tinybird/tb_cli_modules/config.py,sha256=6NTgIdwf0X132A1j6G_YrdPep87ymZ9b5pABabKLzh4,11484
27
27
  tinybird/tb_cli_modules/connection.py,sha256=LUU9kHyxC8MEFU_VBk_YvbAukjWGakmLS-28nx8xgPA,22115
@@ -37,8 +37,8 @@ tinybird/tb_cli_modules/workspace.py,sha256=NDHINzW3SBo8FcWH8Bx-DCeUXQ8YUJX6FW8c
37
37
  tinybird/tb_cli_modules/workspace_members.py,sha256=6oZM7oJQPxDMycL95TPtALriL5WRI2DhNlQWD8MP8JU,8205
38
38
  tinybird/tb_cli_modules/tinyunit/tinyunit.py,sha256=0dYYmZMMJVubxSPls2e_a-fqtUYvgLfu2B0xwLfkbHw,11667
39
39
  tinybird/tb_cli_modules/tinyunit/tinyunit_lib.py,sha256=j92za8QbXrv4eIPjKBZPn9ghR-nYQ2wZZ88MeXyMWXE,1868
40
- tinybird_cli-3.0.0.dev11.dist-info/METADATA,sha256=LGOj_g65uF3ZUMjvezoFFYQXX0CEKyt21vi1AugxJGs,63208
41
- tinybird_cli-3.0.0.dev11.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
42
- tinybird_cli-3.0.0.dev11.dist-info/entry_points.txt,sha256=PKPKuPmA4IfJYnCFHHUiw-aAWZuBomFvwCklv1OyCjE,43
43
- tinybird_cli-3.0.0.dev11.dist-info/top_level.txt,sha256=8TRt5snq9vZpx4rBBc9EWpj76Er6IAdfnx_Eq6cNBk8,45
44
- tinybird_cli-3.0.0.dev11.dist-info/RECORD,,
40
+ tinybird_cli-3.0.0.dev12.dist-info/METADATA,sha256=X1HcwPh4RQ9CTzEk_kO00352s0ejgxiOYrWD123TQqM,63319
41
+ tinybird_cli-3.0.0.dev12.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
42
+ tinybird_cli-3.0.0.dev12.dist-info/entry_points.txt,sha256=PKPKuPmA4IfJYnCFHHUiw-aAWZuBomFvwCklv1OyCjE,43
43
+ tinybird_cli-3.0.0.dev12.dist-info/top_level.txt,sha256=8TRt5snq9vZpx4rBBc9EWpj76Er6IAdfnx_Eq6cNBk8,45
44
+ tinybird_cli-3.0.0.dev12.dist-info/RECORD,,