scythe-sql 0.19.0__tar.gz → 0.20.2__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,8 @@
2
2
  /target/
3
3
  **/*.rs.bk
4
4
  site/
5
+ # Release archives and the per-target parser helpers they are packaged from
6
+ /dist/
5
7
  .playwright-mcp/
6
8
  .ruff_cache/
7
9
  .mcp.json
@@ -66,8 +68,16 @@ snowflake.log
66
68
  erl_crash.dump
67
69
 
68
70
  # BEGIN ai-rulez (DO NOT EDIT - managed by ai-rulez)
71
+ .agents/skills/
69
72
  .ai-rulez/.generated-manifest.json
70
- .codex/
73
+ .ai-rulez/.generated-manifest.local.json
74
+ .ai-rulez/local/
75
+ .codex/agents/
76
+ .opencode/agents/
77
+ .opencode/commands/
78
+ .pi/agents/
79
+ .pi/prompts/
71
80
  AGENTS.md
72
81
  CLAUDE.md
82
+ opencode.json
73
83
  # END ai-rulez
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: scythe-sql
3
- Version: 0.19.0
3
+ Version: 0.20.2
4
4
  Summary: SQL compilation and code generation CLI -- PyPI wrapper that downloads the prebuilt scythe binary
5
5
  Project-URL: Homepage, https://goldziher.github.io/scythe
6
6
  Project-URL: Repository, https://github.com/Goldziher/scythe
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "scythe-sql"
3
- version = "0.19.0"
3
+ version = "0.20.2"
4
4
  description = "SQL compilation and code generation CLI -- PyPI wrapper that downloads the prebuilt scythe binary"
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -4,4 +4,4 @@ Downloads and execs the prebuilt ``scythe`` binary for the current platform;
4
4
  see :mod:`scythe_sql.cli` for the entry point.
5
5
  """
6
6
 
7
- __version__ = "0.19.0"
7
+ __version__ = "0.20.2"
@@ -1,4 +1,4 @@
1
- """Checksum parsing and verification for goreleaser checksum files."""
1
+ """Checksum parsing and verification for release checksum files."""
2
2
 
3
3
  import hashlib
4
4
  import re
@@ -1,6 +1,6 @@
1
1
  """Archive extraction: locate and unpack the scythe binary by basename.
2
2
 
3
- The archive also contains LICENSE/README (goreleaser default), so callers
3
+ The archive also contains LICENSE/README (release archive default), so callers
4
4
  must not assume a fixed path inside the archive -- search by basename.
5
5
  """
6
6
 
@@ -1,11 +1,11 @@
1
1
  """Platform+arch -> Rust target triple resolution for scythe release assets.
2
2
 
3
- Release assets published by goreleaser (verified against the v0.12.0 release):
3
+ Release assets published by the publish workflow:
4
4
  scythe-x86_64-unknown-linux-gnu.tar.gz
5
5
  scythe-aarch64-unknown-linux-gnu.tar.gz
6
6
  scythe-x86_64-apple-darwin.tar.gz
7
7
  scythe-aarch64-apple-darwin.tar.gz
8
- scythe-x86_64-pc-windows-gnu.zip
8
+ scythe-x86_64-pc-windows-msvc.zip
9
9
 
10
10
  There is no musl target and no aarch64 Windows asset.
11
11
  """
@@ -22,7 +22,7 @@ TRIPLES: dict[tuple[str, str], str] = {
22
22
  ("linux", "arm64"): "aarch64-unknown-linux-gnu",
23
23
  ("darwin", "x64"): "x86_64-apple-darwin",
24
24
  ("darwin", "arm64"): "aarch64-apple-darwin",
25
- ("win32", "x64"): "x86_64-pc-windows-gnu",
25
+ ("win32", "x64"): "x86_64-pc-windows-msvc",
26
26
  }
27
27
 
28
28
  _MACHINE_ALIASES: dict[str, str] = {
@@ -126,7 +126,7 @@ def resolve_target(
126
126
  if platform_key == "win32" and arch_key == "arm64":
127
127
  warn_fn(
128
128
  "scythe-sql: no native Windows ARM64 build is published; falling back to the "
129
- "x86_64-pc-windows-gnu binary, which runs under Windows 11 ARM64 x64 emulation."
129
+ "x86_64-pc-windows-msvc binary, which runs under Windows 11 ARM64 x64 emulation."
130
130
  )
131
131
  return ResolvedTarget(target=TRIPLES[("win32", "x64")], archive_ext="zip", binary_name="scythe.exe")
132
132
 
File without changes