Thomas Waldmann
e1347ef9ab
CI: use "3.13" (w/o "-dev")
2024-10-23 23:21:18 +02:00
Thomas Waldmann
7be254efe5
github CI: temporarily disabled windows CI, #8474
2024-10-15 20:36:17 +02:00
Thomas Waldmann
4c1a0b1ca0
msys2: disable SETUPTOOLS_USE_DISTUTILS=stdlib hack
...
The msys2 changelog says it is only needed for setuptools < 70.2.0:
https://www.msys2.org/docs/python/#known-issues
https://setuptools.pypa.io/en/stable/history.html#v70-2-0
2024-09-19 12:36:18 +02:00
Thomas Waldmann
de249f611e
CI: enable windows build
2024-09-15 22:56:06 +02:00
TW
ea08e49210
Merge pull request #8332 from ThomasWaldmann/use-borgstore
...
use borgstore and other big changes
2024-09-08 15:16:24 +02:00
Thomas Waldmann
57268909f8
upgrade black to 24.x
2024-09-07 22:04:36 +02:00
Thomas Waldmann
a8381673b0
support / test on Python 3.13
2024-08-29 00:00:52 +02:00
Thomas Waldmann
d30d5f4aec
Repository3 / RemoteRepository3: implement a borgstore based repository
...
Simplify the repository a lot:
No repository transactions, no log-like appending, no append-only, no segments,
just using a key/value store for the individual chunks.
No locking yet.
Also:
mypy: ignore missing import
there are no library stubs for borgstore yet, so mypy errors without that option.
pyproject.toml: install borgstore directly from github
There is no pypi release yet.
use pip install -e . rather than python setup.py develop
The latter is deprecated and had issues installing the "borgstore from github" dependency.
2024-08-23 23:55:09 +02:00
Thomas Waldmann
69ce4bd9ee
add github sponsors
...
also: reorder
2024-07-26 23:51:36 +02:00
Paweł Kotiuk
f777263997
Add Open Collective and Liberapay to FUNDING.yml
...
Source: https://www.borgbackup.org/support/fund.html
2024-07-19 20:41:06 +00:00
Thomas Waldmann
1e38525853
github CI: windows msys2 build: broken, disable it for now, see #8264
2024-07-07 14:36:54 +02:00
Thomas Waldmann
7baf8beed6
github CI: fix PKG_CONFIG_PATH for openssl 3.0
2024-05-12 15:25:27 +02:00
Thomas Waldmann
d893b899fc
update github actions
...
(avoid deprecation warnings)
2024-04-03 18:26:35 +02:00
Thomas Waldmann
670cb6eb3f
github CI: misc updates
...
- macOS: run on macos-14 (on Apple Silicon!)
- macOS: use OpenSSL 3.0 from brew
- macOS: run with Python 3.11
- pip install -e .: add -v
- use up-to-date github actions
- remove libb2 references - since borg 1.2, we use blake2 indirectly via python stdlib
2024-03-15 18:19:15 +01:00
Thomas Waldmann
8944129806
gh actions: increase timeout
...
especially the macos workers are sometimes extremely slow.
2024-02-09 00:22:16 +01:00
Stephen
5c5df6458a
github CI (macOS): use brew bundle install (uses Brewfile)
2024-01-14 15:30:08 +01:00
Thomas Waldmann
1a544845a2
use less setup.py, use pip and build
...
todo: clean clean2 build_usage build_man
2024-01-02 19:50:59 +01:00
Thomas Waldmann
66eb086c4a
fix msys build
...
forward port to get code in sync with 1.4-maint.
use "pip install -e ." before invoking pyinstaller, so we have
the _version.py built by setuptools_scm and also it compiled the
extension modules, so pyinstaller can pick them up.
msys2 hack:
https://stackoverflow.com/questions/76079590/error-plat-name-must-be-one-of-win32-win-amd64-win-arm32-win-arm6
2024-01-02 19:46:48 +01:00
Thomas Waldmann
b0f7b05f43
CI: also trigger if a .toml file changes
...
Usually this might be pyproject.toml.
2023-11-27 17:23:36 +01:00
Thomas Waldmann
82440a2a38
github CI: test on py312 (w/o -dev)
2023-10-10 17:38:39 +02:00
Thomas Waldmann
1175fbcfd9
support / test on Python 3.12
2023-09-14 03:04:28 +02:00
Thomas Waldmann
98796a2f0d
replace flake8 by ruff
2023-09-04 22:15:42 +02:00
Thomas Waldmann
057aec407d
ci: run on ubuntu 22.04
2023-08-26 15:11:17 +02:00
Thomas Waldmann
d2d6e6092b
CI: test building the docs
2023-08-26 13:44:51 +02:00
Thomas Waldmann
cab8e5d013
github actions CI: win/mac both need linux succeed first, fixes #7684
...
also:
- XDISTN=6, 3 cores on macOS machines
- XDISTN=4, 2 cores on windows/linux machines
2023-06-29 19:59:39 +02:00
Thomas Waldmann
e9f766dbbf
gha: remove outdated borg2 branch
2023-06-28 15:27:26 +02:00
Thomas Waldmann
7092f24f4a
CI: try 4 parallel pytest-xdist workers
2023-06-06 23:22:03 +02:00
Rayyan Ansari
4f7d940769
CI: merge Windows workflow with main
...
This also enables us to avoid running it when lint fails.
2023-06-01 20:25:42 +01:00
Thomas Waldmann
5c24149237
ci: use a faster python on macOS
...
the macOS machines used for github actions are sometimes slow,
so rather try to put less burden on them.
2023-04-06 19:50:01 +02:00
Thomas Waldmann
bcfbdb6e79
ci: looks like 40mins is not always enough
...
might depend on server load at gh.
2023-04-06 19:29:01 +02:00
Thomas Waldmann
d6091c41c7
codeql action: upgrade to v2
2023-03-27 16:25:58 +02:00
Rayyan Ansari
89824bc705
Windows CI: only run when certain files are modified
...
The Windows CI does not need to run when files such as docs are
changed.
2023-03-12 15:35:32 +00:00
Rayyan Ansari
ce50c497b0
Windows: simplify building
...
Use the standard pip build command, and get rid of the build script.
2023-03-10 17:51:03 +00:00
Thomas Waldmann
142eb65223
upgrade codecov-action to v3
2023-02-09 18:46:36 +01:00
Thomas Waldmann
f65a6b197a
fix black versions be 23.x
...
https://black.readthedocs.io/en/stable/integrations/github_actions.html
2023-02-01 16:04:39 +01:00
Thomas Waldmann
96862787db
upgrade black to 23.1.0
...
work around the current github actions issue by just using the latest version:
https://github.com/psf/black/issues/3538
2023-02-01 12:29:54 +01:00
Thomas Waldmann
829d88e614
win32 ci: show individual tests, give skip reason if tests were skipped
2023-01-13 21:01:05 +01:00
TW
7fb37271f2
Merge pull request #7258 from RayyanAnsari/windows-ci-tests
...
Add tests to Windows CI
2023-01-13 18:43:21 +01:00
Rayyan Ansari
b19d2c1449
Add tests to Windows CI
2023-01-13 17:02:41 +00:00
Josh Soref
6266ba8891
spelling: github
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-12 00:24:42 -05:00
Thomas Waldmann
b1d7cb4e1e
github CI: set PKG_CONFIG_PATH again
...
strange: on macOS, the globally set PKG_CONFIG_PATH was overwritten,
thus the borg build did not find openssl any more. setting it here
locally again works around the issue.
2022-12-17 21:37:27 +01:00
Thomas Waldmann
d959178e76
github CI: prepend to PKG_CONFIG_PATH
2022-12-17 21:35:26 +01:00
Thomas Waldmann
6041928c0a
github CI: use actions/cache@v3
2022-12-17 20:32:35 +01:00
Thomas Waldmann
626a5c9229
github CI: use actions/setup-python@v4
2022-12-17 20:31:58 +01:00
Thomas Waldmann
2f0a81617f
github CI: use actions/checkout@v3
2022-12-17 20:31:13 +01:00
Thomas Waldmann
c9a879a358
github CI: use ubuntu-20.04
2022-12-17 20:30:07 +01:00
Thomas Waldmann
e6424aa0f5
fix tox4 passenv issue, fixes #7199
...
also: have a setting to disable fail-fast, in case something breaks again.
2022-12-10 19:34:32 +01:00
Thomas Waldmann
fa9381a476
use same black version on gh actions as locally
2022-11-06 17:34:59 +01:00
Rayyan Ansari
2b98a423ed
Add new Windows build scripts and CI with GitHub and MSYS2
...
Fixes #7097
2022-10-27 13:42:41 +01:00
Thomas Waldmann
b19618506a
vagrant / github CI: use python 3.11.0
2022-10-27 02:15:05 +02:00