ferogram 0.1.3__tar.gz → 0.1.4__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.
Files changed (40) hide show
  1. {ferogram-0.1.3 → ferogram-0.1.4}/.github/workflows/publish.yml +5 -9
  2. {ferogram-0.1.3 → ferogram-0.1.4}/Cargo.lock +1 -1
  3. {ferogram-0.1.3 → ferogram-0.1.4}/Cargo.toml +2 -2
  4. {ferogram-0.1.3 → ferogram-0.1.4}/PKG-INFO +1 -1
  5. {ferogram-0.1.3 → ferogram-0.1.4}/pyproject.toml +1 -1
  6. {ferogram-0.1.3 → ferogram-0.1.4}/.gitignore +0 -0
  7. {ferogram-0.1.3 → ferogram-0.1.4}/LICENSE-APACHE +0 -0
  8. {ferogram-0.1.3 → ferogram-0.1.4}/LICENSE-MIT +0 -0
  9. {ferogram-0.1.3 → ferogram-0.1.4}/README.md +0 -0
  10. {ferogram-0.1.3 → ferogram-0.1.4}/examples/command_bot.py +0 -0
  11. {ferogram-0.1.3 → ferogram-0.1.4}/examples/echo_bot.py +0 -0
  12. {ferogram-0.1.3 → ferogram-0.1.4}/examples/raw_invoke.py +0 -0
  13. {ferogram-0.1.3 → ferogram-0.1.4}/examples/send_hi.py +0 -0
  14. {ferogram-0.1.3 → ferogram-0.1.4}/examples/send_media.py +0 -0
  15. {ferogram-0.1.3 → ferogram-0.1.4}/examples/send_message.py +0 -0
  16. {ferogram-0.1.3 → ferogram-0.1.4}/examples/update_handlers.py +0 -0
  17. {ferogram-0.1.3 → ferogram-0.1.4}/examples/userbot.py +0 -0
  18. {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/__init__.py +0 -0
  19. {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/client.py +0 -0
  20. {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/filters.py +0 -0
  21. {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/logging.py +0 -0
  22. {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/py.typed +0 -0
  23. {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/raw/__init__.py +0 -0
  24. {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/raw/api/__init__.py +0 -0
  25. {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/raw/api/functions.py +0 -0
  26. {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/raw/api/types.py +0 -0
  27. {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/raw/codegen.py +0 -0
  28. {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/raw/generated/__init__.py +0 -0
  29. {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/raw/generated/_tl_schema.py +0 -0
  30. {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/raw/generated/functions.py +0 -0
  31. {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/raw/generated/types.py +0 -0
  32. {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/raw/tl.py +0 -0
  33. {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/raw_api.tl +0 -0
  34. {ferogram-0.1.3 → ferogram-0.1.4}/src/auth.rs +0 -0
  35. {ferogram-0.1.3 → ferogram-0.1.4}/src/client.rs +0 -0
  36. {ferogram-0.1.3 → ferogram-0.1.4}/src/lib.rs +0 -0
  37. {ferogram-0.1.3 → ferogram-0.1.4}/src/message.rs +0 -0
  38. {ferogram-0.1.3 → ferogram-0.1.4}/src/raw.rs +0 -0
  39. {ferogram-0.1.3 → ferogram-0.1.4}/src/types.rs +0 -0
  40. {ferogram-0.1.3 → ferogram-0.1.4}/src/updates.rs +0 -0
@@ -38,7 +38,7 @@ jobs:
38
38
  - uses: actions/checkout@v4
39
39
  - uses: actions/setup-python@v5
40
40
  with:
41
- python-version: "3.12"
41
+ python-version: "3.13"
42
42
  - name: Cache Rust build artifacts
43
43
  uses: Swatinem/rust-cache@v2
44
44
  with:
@@ -70,7 +70,7 @@ jobs:
70
70
  - uses: actions/checkout@v4
71
71
  - uses: actions/setup-python@v5
72
72
  with:
73
- python-version: "3.12"
73
+ python-version: "3.13"
74
74
  - name: Cache Rust build artifacts
75
75
  uses: Swatinem/rust-cache@v2
76
76
  with:
@@ -91,7 +91,7 @@ jobs:
91
91
  - uses: actions/checkout@v4
92
92
  - uses: actions/setup-python@v5
93
93
  with:
94
- python-version: "3.12"
94
+ python-version: "3.13"
95
95
  - name: Cache Rust build artifacts
96
96
  uses: Swatinem/rust-cache@v2
97
97
  - uses: PyO3/maturin-action@v1
@@ -126,7 +126,7 @@ jobs:
126
126
 
127
127
  - uses: actions/setup-python@v5
128
128
  with:
129
- python-version: "3.12"
129
+ python-version: "3.13"
130
130
 
131
131
  - name: Setup Android NDK r26d
132
132
  uses: nttld/setup-ndk@v1
@@ -150,10 +150,7 @@ jobs:
150
150
  env:
151
151
  ANDROID_NDK_HOME: ${{ steps.ndk.outputs.ndk-path }}
152
152
  ANDROID_API_LEVEL: ${{ matrix.api }}
153
- PYO3_CROSS_PYTHON_VERSION: "3.12"
154
- # Allow an abi3-py312 wheel to load on Python 3.13+ without ABI breakage.
155
- # PyO3 0.23 needs this; 0.24+ handles it natively but the flag is harmless.
156
- PYO3_USE_ABI3_FORWARD_COMPATIBILITY: "1"
153
+ PYO3_CROSS_PYTHON_VERSION: "3.13"
157
154
  run: |
158
155
  NDK_BIN=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin
159
156
  TARGET=${{ matrix.target }}
@@ -183,7 +180,6 @@ jobs:
183
180
  # sysroot (which PYO3_CROSS_LIB_DIR would do, triggering a
184
181
  # _sysconfigdata*.py search and failing).
185
182
  STUB_DIR=$(mktemp -d)
186
- $NDK_BIN/llvm-ar rcs "$STUB_DIR/libpython3.12.a"
187
183
  $NDK_BIN/llvm-ar rcs "$STUB_DIR/libpython3.13.a"
188
184
  $NDK_BIN/llvm-ar rcs "$STUB_DIR/libpython3.a"
189
185
  export RUSTFLAGS="-L native=$STUB_DIR"
@@ -347,7 +347,7 @@ dependencies = [
347
347
 
348
348
  [[package]]
349
349
  name = "ferogram-py"
350
- version = "0.1.3"
350
+ version = "0.1.4"
351
351
  dependencies = [
352
352
  "ferogram",
353
353
  "pyo3",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "ferogram-py"
3
- version = "0.1.3"
3
+ version = "0.1.4"
4
4
  edition = "2024"
5
5
  description = "Python bindings for ferogram (Rust MTProto)"
6
6
  license = "MIT OR Apache-2.0"
@@ -12,7 +12,7 @@ crate-type = ["cdylib"]
12
12
 
13
13
  [dependencies]
14
14
  ferogram = { git = "https://github.com/ankit-chaubey/ferogram", branch = "main" }
15
- pyo3 = { version = "0.24", features = ["extension-module", "abi3-py312"] }
15
+ pyo3 = { version = "0.24", features = ["extension-module", "abi3-py313"] }
16
16
  pyo3-async-runtimes = { version = "0.24", features = ["tokio-runtime"] }
17
17
  tokio = { version = "1", features = ["full"] }
18
18
  # Note: do NOT add ferogram-tl-types as a direct dep - use ferogram::tl instead
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ferogram
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
  Classifier: Development Status :: 3 - Alpha
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: License :: OSI Approved :: MIT License
@@ -4,7 +4,7 @@ build-backend = "maturin"
4
4
 
5
5
  [project]
6
6
  name = "ferogram"
7
- version = "0.1.3"
7
+ version = "0.1.4"
8
8
  description = "Python wrapper for ferogram, blazing-fast Rust MTProto library for Telegram."
9
9
  readme = "README.md"
10
10
  license = { text = "MIT OR Apache-2.0" }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes