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.
- {ferogram-0.1.3 → ferogram-0.1.4}/.github/workflows/publish.yml +5 -9
- {ferogram-0.1.3 → ferogram-0.1.4}/Cargo.lock +1 -1
- {ferogram-0.1.3 → ferogram-0.1.4}/Cargo.toml +2 -2
- {ferogram-0.1.3 → ferogram-0.1.4}/PKG-INFO +1 -1
- {ferogram-0.1.3 → ferogram-0.1.4}/pyproject.toml +1 -1
- {ferogram-0.1.3 → ferogram-0.1.4}/.gitignore +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/LICENSE-APACHE +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/LICENSE-MIT +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/README.md +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/examples/command_bot.py +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/examples/echo_bot.py +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/examples/raw_invoke.py +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/examples/send_hi.py +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/examples/send_media.py +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/examples/send_message.py +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/examples/update_handlers.py +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/examples/userbot.py +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/__init__.py +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/client.py +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/filters.py +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/logging.py +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/py.typed +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/raw/__init__.py +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/raw/api/__init__.py +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/raw/api/functions.py +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/raw/api/types.py +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/raw/codegen.py +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/raw/generated/__init__.py +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/raw/generated/_tl_schema.py +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/raw/generated/functions.py +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/raw/generated/types.py +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/raw/tl.py +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/ferogram/raw_api.tl +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/src/auth.rs +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/src/client.rs +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/src/lib.rs +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/src/message.rs +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/src/raw.rs +0 -0
- {ferogram-0.1.3 → ferogram-0.1.4}/src/types.rs +0 -0
- {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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "ferogram-py"
|
|
3
|
-
version = "0.1.
|
|
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-
|
|
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
|
|
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
|
|
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
|