mnightingale
e1009e1e92
Install the browser and its system dependencies in one step
2026-08-30 17:01:15 +02:00
mnightingale
5088e14fa6
Drive the functional tests with Playwright instead of Selenium
2026-08-30 17:01:15 +02:00
mnightingale
ec6ba3baae
Speed up tests with pytest-xdist ( #3546 )
...
* Speed up tests with pytest-xdist
* Ignore request failures when the server disappeared
* Fix tests which modify module globals
* Fix lang change leaking
* Fix transaction compilation order breaking tests
* Always load a clean config and fix related tests
* No module globals
* Fix other test classes assigning module level by making calls
* Replace from sabnzbd.cfg import so monkeypatch works
* More global poisoning
* Fix dependant tests which worksteal breaks
* More global vars
* Drop loadscope until more failures are resolved
* Due to how pytest-xdist is implemented, the -s/--capture=no option does not work
* monkeypatch db_path
* Also patch startup_done
* loadscope
2026-08-10 17:44:18 +01:00
renovate[bot]
b7da5b6684
Update actions/setup-python action to v7 ( #3543 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-03 08:42:06 +02:00
Safihre
44777dc3cf
Add Python 3.15-dev to integration testing matrix
...
Install libxml2 and libxslt for integration testing
2026-07-14 16:04:10 +02:00
renovate[bot]
8afb8a91e2
Update all dependencies ( #3487 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-06 14:16:16 +02:00
Safihre
5d3286654e
Enforce explicit dependency pinning for improved build security
...
All direct and transitive dependencies are now explicitly listed in
`requirements.txt` files, and `pip install` commands consistently use
`--no-dependencies`.
This approach ensures that only the specified versions are installed,
enhancing supply chain security and build reproducibility by preventing
automatic dependency resolution. The `--upgrade` flag was removed from
these installations as it is no longer necessary with fully pinned
dependencies.
2026-06-16 11:54:11 +02:00
Safihre
a344726c68
Drop support for Python 3.9
...
Luckily no Ubuntu LTS versions uses it!
https://documentation.ubuntu.com/ubuntu-for-developers/reference/availability/python/
2026-05-26 14:34:19 +02:00
Safihre
60f555117c
Limit GitHub Actions workflow concurrency
...
Configures `concurrency` for the build, snap, and integration testing workflows. This prevents multiple concurrent runs of the same workflow on the same branch and automatically cancels older, in-progress runs when a new one is triggered.
2026-05-15 16:26:27 +02:00
Safihre
b942e06297
Introduce Ruff linter for improved code quality
...
Integrates the Ruff linter into the CI workflow alongside Black. This enhances code quality and consistency by catching common issues. Addresses an initial `F821` (undefined name) finding in `__init__.py` identified by Ruff, ensuring explicit module referencing.
2026-05-13 14:25:06 +02:00
Safihre
7abb39d02d
Move black config to pyproject
...
So later we can also add ruff
2026-05-10 12:00:01 +02:00
Safihre
7bdfb54bee
Limit GitHub Actions workflow permissions
...
Explicitly define the minimum required permissions for various GitHub Actions workflows. This adheres to the principle of least privilege, enhancing security by limiting the scope of access granted to the GITHUB_TOKEN.
2026-04-30 15:51:52 +02:00
Safihre
468ab93568
Update extract_pot and pygettext
...
Seems we accidentally forgot some translations
2026-03-31 14:02:40 +02:00
Safihre
4917885ea1
Simplify black formatting validation step
2026-02-10 13:22:45 +01:00
Safihre
3384beed24
Make black 26.1.0 happy again - almost
2026-01-19 12:42:51 +01:00
renovate[bot]
d459f69113
Update all dependencies ( #3204 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-24 01:49:05 +00:00
Safihre
77b35e7904
Re-enable all Python versions for CI tests
2025-11-21 10:05:01 +01:00
Safihre
f8a0b3db52
Remove hostname resolution in get_webhost
...
#3131
2025-11-21 10:00:12 +01:00
Safihre
67a5a552fd
Add missing typing hints to several files
2025-11-21 10:00:10 +01:00
Safihre
09347d0766
Switch everything to Python 3.14
2025-10-13 07:44:35 +02:00
Safihre
f556cea488
Use release version of Python 3.14 in CI
2025-10-08 20:07:39 +02:00
Safihre
9b3fe470a0
Run tests on Python 3.14
...
Force newer pytest
Force beta release of tavern
Unfix werkzeug
Allow latest tavern only on Python 3.11 and above
Fix test failure in Python 3.14
2025-09-29 13:29:50 +02:00
renovate[bot]
951bc0c957
Update all dependencies ( #3142 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-08 20:00:14 +00:00
Safihre
a42a2db196
Github Actions Windows 2025 runners do not included NSIS
2025-09-08 21:36:13 +02:00
renovate[bot]
2d0cc08987
Update all dependencies ( #3136 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-18 01:59:29 +00:00
Safihre
e37a777f29
Run CI Tests on macOS 13
...
See #3131
2025-08-12 11:44:31 +02:00
Safihre
4980fc70a0
Small tweaks to the workflows
2025-08-11 11:57:54 +02:00
Safihre
7a7e7b7b93
Remove Python 3.8 from CI (but keep support)
2025-06-26 13:32:32 +02:00
Safihre
3b52379e56
Remove Windows 32bit support
2024-12-02 12:13:47 +01:00
Safihre
277679ef53
Add Python 3.13 to CI tests
2024-10-15 10:10:24 +02:00
Safihre
9205b9161b
Update Linux test runners
2024-09-05 12:43:31 +03:00
Safihre
820824e443
Disable failing test until #2883 is fixed
2024-07-08 13:47:01 +02:00
Safihre
aa67edb2d9
Fix macOS CI run by pinning older Python 3.12.3 version
2024-06-17 09:25:51 +02:00
Safihre
eed1ab3ce3
Use --no-dependencies during CI
2024-02-05 08:40:40 +01:00
renovate[bot]
8495a234e8
Update all dependencies
2024-01-29 04:57:58 +00:00
Safihre
3faa6577df
Use setup-python way of caching pip packages
...
Our previous action is no longer supported
2024-01-26 16:43:42 +01:00
Safihre
5e7154530b
Add Python 3.12 to CI
...
Not yet for releases, as we need PyInstaller 6.0.0
2023-10-03 19:52:43 +02:00
Safihre
835745e485
Remove PKG-INFO
...
Closes #2548
2023-05-03 14:25:03 +02:00
Safihre
bcb553d9f9
Move release actions to separate build step
2023-05-03 14:22:50 +02:00
Safihre
57d5ed2f21
Add Windows Python 3.8 32bit to CI test
...
Since we also use it for the release.
2023-05-01 21:33:49 +02:00
Safihre
b73699be8d
Allow 20 min for CI tests
2023-04-25 17:12:31 +02:00
Safihre
4e2df006e7
Use correct pip call to update pip itself on Windows
2023-04-08 22:15:55 +02:00
Safihre
fe0c4e4f92
Update formatting with black 23 rules
2023-02-01 20:42:06 +01:00
Safihre
ba68243dc7
Drop official support for Python 3.7 for the next major release
2023-01-25 23:02:33 +01:00
Safihre
c27d60e2b0
Run Windows CI tests on Python 3.11 now lxml is available
2022-12-15 09:57:10 +01:00
Safihre
5fa7bea885
Update (almost) all Python versions to 3.11
2022-10-27 08:58:28 +02:00
dependabot[bot]
e9a884ab39
Bump syphar/restore-virtualenv from 1.2 to 1.3 ( #2312 )
...
Bumps [syphar/restore-virtualenv](https://github.com/syphar/restore-virtualenv ) from 1.2 to 1.3.
- [Release notes](https://github.com/syphar/restore-virtualenv/releases )
- [Commits](https://github.com/syphar/restore-virtualenv/compare/v1.2...v1.3 )
---
updated-dependencies:
- dependency-name: syphar/restore-virtualenv
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 13:11:23 +02:00
Safihre
92067fa3f3
Build release using Python 3.11 RC 2
...
Set PYTHONNODEBUGRANGES
Use main pyinstaller branch
rustup target add aarch64-apple-darwin
2022-09-22 14:19:32 +02:00
Safihre
8353227f9d
No longer install builder requirements during CI
2022-08-20 23:13:38 +02:00
Safihre
5c1d69b934
Run Linux CI tests on Python 3.11
2022-08-20 23:03:40 +02:00