workers-py 1.1.5__tar.gz → 1.1.6__tar.gz

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.
@@ -2,6 +2,15 @@
2
2
 
3
3
  <!-- version list -->
4
4
 
5
+ ## v1.1.6 (2025-08-27)
6
+
7
+ ### Bug Fixes
8
+
9
+ - Sync: if nothing to do, only warn if user requested directly
10
+ ([#26](https://github.com/cloudflare/workers-py/pull/26),
11
+ [`e142800`](https://github.com/cloudflare/workers-py/commit/e142800306cf4a021c10c629814265ed63d9cd90))
12
+
13
+
5
14
  ## v1.1.5 (2025-08-26)
6
15
 
7
16
  ### Bug Fixes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: workers-py
3
- Version: 1.1.5
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
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "workers-py"
7
- version = "1.1.5"
7
+ version = "1.1.6"
8
8
  description = "A set of libraries and tools for Python Workers"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -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
- logger.warning(
120
- "pyproject.toml hasn't changed since last sync, use --force to ignore timestamp check"
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.
@@ -402,7 +402,7 @@ wheels = [
402
402
 
403
403
  [[package]]
404
404
  name = "workers-py"
405
- version = "1.1.5"
405
+ version = "1.1.6"
406
406
  source = { editable = "." }
407
407
  dependencies = [
408
408
  { name = "click", version = "8.1.8", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.12'" },
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes