workers-py 1.1.5__py3-none-any.whl → 1.1.6__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.
- pywrangler/cli.py +6 -5
- {workers_py-1.1.5.dist-info → workers_py-1.1.6.dist-info}/METADATA +1 -1
- {workers_py-1.1.5.dist-info → workers_py-1.1.6.dist-info}/RECORD +5 -5
- {workers_py-1.1.5.dist-info → workers_py-1.1.6.dist-info}/WHEEL +0 -0
- {workers_py-1.1.5.dist-info → workers_py-1.1.6.dist-info}/entry_points.txt +0 -0
pywrangler/cli.py
CHANGED
|
@@ -55,7 +55,7 @@ class ProxyToWranglerGroup(click.Group):
|
|
|
55
55
|
remaining_args = []
|
|
56
56
|
|
|
57
57
|
if cmd_name in ["dev", "publish", "deploy", "versions"]:
|
|
58
|
-
ctx.invoke(sync_command, force=False)
|
|
58
|
+
ctx.invoke(sync_command, force=False, directly_requested=False)
|
|
59
59
|
|
|
60
60
|
_proxy_to_wrangler(cmd_name, remaining_args)
|
|
61
61
|
sys.exit(0)
|
|
@@ -92,7 +92,7 @@ def app(ctx, debug=False):
|
|
|
92
92
|
|
|
93
93
|
@app.command("sync")
|
|
94
94
|
@click.option("--force", is_flag=True, help="Force sync even if no changes detected")
|
|
95
|
-
def sync_command(force=False):
|
|
95
|
+
def sync_command(force=False, directly_requested=True):
|
|
96
96
|
"""
|
|
97
97
|
Installs Python packages from pyproject.toml into src/vendor.
|
|
98
98
|
|
|
@@ -116,9 +116,10 @@ def sync_command(force=False):
|
|
|
116
116
|
# Check if sync is needed based on file timestamps
|
|
117
117
|
sync_needed = force or is_sync_needed()
|
|
118
118
|
if not sync_needed:
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
if directly_requested:
|
|
120
|
+
logger.warning(
|
|
121
|
+
"pyproject.toml hasn't changed since last sync, use --force to ignore timestamp check"
|
|
122
|
+
)
|
|
122
123
|
return
|
|
123
124
|
|
|
124
125
|
# Check to make sure a wrangler config file exists.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: workers-py
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.6
|
|
4
4
|
Summary: A set of libraries and tools for Python Workers
|
|
5
5
|
Project-URL: Homepage, https://github.com/cloudflare/workers-py
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/cloudflare/workers-py/issues
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
pywrangler/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
2
2
|
pywrangler/__main__.py,sha256=BnrUM7YiBmlM4HAn2MI9hP1kVNtzeK_kEgQhRy5HTq0,38
|
|
3
|
-
pywrangler/cli.py,sha256=
|
|
3
|
+
pywrangler/cli.py,sha256=BnGGrdksWP-qBj-b0ipji-61Q0kZJohyr2KZZz-XG5s,5150
|
|
4
4
|
pywrangler/sync.py,sha256=80pPCz-DTTAk5xTQ0j4ufrh3wv1nQ8y_-zpdPkaLVfw,9740
|
|
5
5
|
pywrangler/utils.py,sha256=6mR3kst-Y0w1DMQc5LQ2M9xiNWcVezctTKIWXKQXMJ8,2781
|
|
6
|
-
workers_py-1.1.
|
|
7
|
-
workers_py-1.1.
|
|
8
|
-
workers_py-1.1.
|
|
9
|
-
workers_py-1.1.
|
|
6
|
+
workers_py-1.1.6.dist-info/METADATA,sha256=rI1Ka0dZmdZPfLyanLGulrUewvzy0wnWeUZi9sMdMCI,1750
|
|
7
|
+
workers_py-1.1.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
8
|
+
workers_py-1.1.6.dist-info/entry_points.txt,sha256=pt6X-Nv5-gSiKUwrnvLwzlSXs9yP37m7zdTAi8f6nAM,50
|
|
9
|
+
workers_py-1.1.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|