pyinputcapture 0.1.1__tar.gz → 0.3.0__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.
@@ -19,7 +19,13 @@ permissions:
19
19
 
20
20
  jobs:
21
21
  test:
22
+ if: >-
23
+ github.event_name == 'workflow_call' ||
24
+ !startsWith(github.event.head_commit.message, 'chore') &&
25
+ !startsWith(github.event.head_commit.message, 'docs') &&
26
+ !startsWith(github.event.head_commit.message, 'ci')
22
27
  runs-on: ubuntu-latest
28
+ timeout-minutes: 20
23
29
  steps:
24
30
  - uses: actions/checkout@v4
25
31
  - uses: dtolnay/rust-toolchain@stable
@@ -31,10 +37,18 @@ jobs:
31
37
  run: cargo test
32
38
 
33
39
  - name: Install (dev)
34
- run: pip install maturin pytest && maturin develop
40
+ run: |
41
+ python -m venv .venv
42
+ source .venv/bin/activate
43
+ pip install -e ".[dev]"
44
+ maturin develop
35
45
 
36
46
  - name: Python tests
37
- run: python -m pytest tests/ -v
47
+ run: |
48
+ source .venv/bin/activate
49
+ # thread method: a hang inside the Rust extension runs with the GIL
50
+ # released, so the signal-based timeout would never fire.
51
+ python -m pytest tests/ -v --timeout=60 --timeout-method=thread
38
52
 
39
53
  build:
40
54
  needs: test
@@ -48,7 +62,7 @@ jobs:
48
62
  manylinux: auto
49
63
  - name: aarch64
50
64
  rust-target: aarch64-unknown-linux-gnu
51
- manylinux: 2_28
65
+ manylinux: auto
52
66
  python-version: ["3.11", "3.12", "3.13"]
53
67
  steps:
54
68
  - uses: actions/checkout@v4
@@ -60,7 +74,7 @@ jobs:
60
74
  uses: PyO3/maturin-action@v1
61
75
  with:
62
76
  target: ${{ matrix.target.rust-target }}
63
- args: --release --out dist
77
+ args: --release --out dist -i python${{ matrix.python-version }}
64
78
  manylinux: ${{ matrix.target.manylinux }}
65
79
 
66
80
  - uses: actions/upload-artifact@v4
@@ -17,7 +17,10 @@ jobs:
17
17
  - uses: googleapis/release-please-action@v4
18
18
  id: release
19
19
  with:
20
- release-type: python
20
+ # Cargo.toml and python/pyinputcapture/__init__.py are kept in sync
21
+ # via "extra-files" in release-please-config.json.
22
+ config-file: release-please-config.json
23
+ manifest-file: .release-please-manifest.json
21
24
 
22
25
  build:
23
26
  needs: release-please
@@ -21,3 +21,7 @@ dist/
21
21
  # Environment
22
22
  .env
23
23
  .venv/
24
+
25
+ # macOS debug symbols left behind by `maturin develop`
26
+ *.dSYM/
27
+ *.dylib
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.3.0"
3
+ }
@@ -0,0 +1,32 @@
1
+ # Changelog
2
+
3
+ ## [0.3.0](https://github.com/fizzi01/pyinputcapture/compare/v0.2.0...v0.3.0) (2026-08-01)
4
+
5
+
6
+ ### Features
7
+
8
+ * add set_barriers method ([#4](https://github.com/fizzi01/pyinputcapture/issues/4)) ([68ed3c0](https://github.com/fizzi01/pyinputcapture/commit/68ed3c055803f092768fe9ecfe52dcec8b8172f2))
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * keep InputCapturePortal usable after recreation ([#6](https://github.com/fizzi01/pyinputcapture/issues/6)) ([fb4c393](https://github.com/fizzi01/pyinputcapture/commit/fb4c393a389e8a88edf943ed61d4f690cc9e001e))
14
+
15
+ ## [0.2.0](https://github.com/fizzi01/pyinputcapture/compare/v0.1.1...v0.2.0) (2026-03-10)
16
+
17
+
18
+ ### Features
19
+
20
+ * improve performance ([#2](https://github.com/fizzi01/pyinputcapture/issues/2)) ([f9015a2](https://github.com/fizzi01/pyinputcapture/commit/f9015a2334ca63134c3d1428a97d2fe44e34eb6e))
21
+
22
+ ## 0.1.1 (2026-03-09)
23
+
24
+
25
+ ### Features
26
+
27
+ * add code base ([654ff6a](https://github.com/fizzi01/pyinputcapture/commit/654ff6a2d8e5958e9102df1e1905153c2f8f33e3))
28
+
29
+
30
+ ### Continuous Integration
31
+
32
+ * update manylinux to auto ([24f77de](https://github.com/fizzi01/pyinputcapture/commit/24f77def5061cc068c1b4bc8591dd21db6052196))