Commit graph

69 commits

Author SHA1 Message Date
TW
dfd3b0e6ee
Merge pull request #9046 from ThomasWaldmann/backport-9042-setuptools-min-1.4
backport(1.4): build: require setuptools>=78.1.1
2025-10-09 20:05:38 +02:00
Thomas Waldmann
0069ce1f2d
backport(1.4): build: require setuptools>=78.1.1 to address GHSA-5rjg-fvgr-3xxf (backport of #9045) 2025-10-09 17:56:53 +02:00
Thomas Waldmann
bbaac19c94
Cython 3.1.4 2025-10-09 17:39:12 +02:00
Thomas Waldmann
461f9d7a3e
update requirements.lock.txt to current versions 2025-08-08 21:27:58 +02:00
Thomas Waldmann
0d2b866df8
pyproject.toml: SPDX expression for license, add license-files, see #8771
Also: raise setuptools version requirement appropriately.

In case the setuptools requirement turns out to be a problem when
packaging borg for some OS distribution and an older setuptools must
be used, just do a reverse patch when packaging borg - there should
be no problem as long as you use some older setuptools.
2025-08-08 17:20:12 +02:00
Thomas Waldmann
75e5db0857
coverage: use pyproject.toml 2025-07-06 15:59:56 +02:00
Thomas Waldmann
28e69e5ad4
update development.lock.txt
use same versions as we have in master right now.
2025-04-11 21:45:56 +02:00
Thomas Waldmann
11ac0cdc65
docs: theme fixes
- register theme as extension
- add sphinxcontrib.jquery

The html generated uses jquery ($(...)),
but sphinx does not include it anymore since a while.
2025-04-10 21:47:48 +02:00
Thomas Waldmann
2dfb5d9a06
use Cython 3.0.11 2024-12-29 00:53:50 +01:00
Thomas Waldmann
7794573d5c
use Cython 3.0.10 2024-03-30 22:19:25 +01:00
Thomas Waldmann
c457dbcd8a
use cython 3.0.8 2024-01-18 20:17:11 +01:00
Thomas Waldmann
2d97dcf250
get rid of dateutil 2023-12-26 19:12:00 +01:00
Thomas Waldmann
84df37a19f
use less setup.py, use pip and build
todo: clean clean2 build_usage build_man
2023-12-24 20:50:19 +01:00
Thomas Waldmann
6284053562
update requirements.d/development.lock.txt 2023-12-24 02:33:41 +01:00
Thomas Waldmann
548db7dc90
adjust requirements/development.txt to pyproject.toml 2023-12-24 02:06:25 +01:00
Thomas Waldmann
f08386f699
update requirements.d/development.lock.txt 2023-11-09 00:46:12 +01:00
Thomas Waldmann
37c3177e90
update development.lock.txt
there was some breakage with py312, so better
use current tooling.
2023-10-08 21:42:04 +02:00
Thomas Waldmann
9df5e6c139
allow setuptools_scm >= 8 again
8.0.4 got a fix, so we can allow it again.
2023-10-08 00:10:36 +02:00
Thomas Waldmann
ed87e45bab
use setuptools_scm < 8 for now
https://github.com/pypa/setuptools_scm/issues/938
2023-09-25 14:14:51 +02:00
Thomas Waldmann
1407a2b2fb
remove twine from requirements
twine is only needed at release time, no need
for all developers or all test runs to install
this.

also, some requirement of twine needs a rust
compiler, so if there is no rust compiler,
automated runs will abort due to that.
2023-09-12 17:05:02 +02:00
Thomas Waldmann
98dea3e876
requirements: remove cython restrictions 2023-08-31 01:03:34 +02:00
Thomas Waldmann
f8673a379c
require cython <3 for now
also in requirements.d/development.txt.
2023-08-29 16:09:08 +02:00
Thomas Waldmann
37a813f7f8
stay on latest Cython 0.29 (0.29.36) for borg 1.2.x
master branch tests Cython 3 now.
1.2-maint branch may or may not upgrade to build with Cython 3 later.
2023-08-26 14:18:23 +02:00
Thomas Waldmann
ae7fd9b101
remove coala (outdated)
last coala release (0.11.0) is now over 6y old.

when using pip install coala, a ton of stuff gets installed (expected)
and a part of that downgrades some stuff we use to outdated, incompatible
versions.

when trying to run coala with python 3.11, it just crashes because the
last release was made for py35/py36 (as seen in their setup.py).

a lot of PRs and tickets pile up at the coala project on github,
but noone is maintaining it.
2023-07-03 18:40:52 +02:00
Michael Deyaso
9e7b20660b Installed and configured pre-commit to lint and format code. Fixes #7476
(cherry picked from commit 98d1c65b40)
2023-05-05 23:51:09 -04:00
Thomas Waldmann
497eca0faf
upgrade Cython to 0.29.33 2023-01-06 21:39:22 +01:00
Thomas Waldmann
3837e0233d
update development.lock.txt
including a setuptools security fix, see #7227

also:
- cosmetic change in development.txt to have same order
- removed exclusion of broken Cython release (outdated since long)
2022-12-27 19:32:20 +01:00
Thomas Waldmann
bbad73502b requirements.lock.txt: upgrade Cython and tox 2022-08-20 15:38:10 +02:00
Thomas Waldmann
354b014b19 vagrant/testing: upgrade development.lock.txt
esp. the Cython version upgrade to 0.29.30 is important for python 3.11.
2022-06-01 19:51:55 +02:00
Thomas Waldmann
209a9e786c setuptools 60.7.0 is incompatible with pyinstaller
... even after fixes there.
2022-02-05 15:25:13 +01:00
Thomas Waldmann
02227f30ac add requirements.d/development.lock.txt 2022-02-04 20:57:51 +01:00
Thomas Waldmann
456bf4ce35 exclude buggy current setuptools release
see there: https://github.com/pypa/setuptools/issues/3063
2022-02-02 05:24:53 +01:00
Thomas Waldmann
0e9befb539 require setuptools>=45.0
the focal64 vagrant box otherwise runs into an issue,
because setuptools 44.x is installed and conflicts with
setuptools_scm wanting >=45.
2021-05-06 03:40:44 +02:00
Alf Mikula
e208ba68bd Document retention of oldest archive, add to example and tests 2020-12-18 10:16:38 -08:00
Thomas Waldmann
49b1421682 FUSE: support pyfuse3 additionally to llfuse, fixes #5407
FUSE implementation can be switched via env var BORG_FUSE_IMPL.
2020-10-31 22:04:44 +01:00
Thomas Waldmann
7dc1610674 selecting least broken llfuse version
1.3.6: works on all supported OSes, but not on py39
1.3.7: does not work on FreeBSD, but with py39
2020-10-05 00:23:40 +02:00
Thomas Waldmann
5173b9f407 add pkg-config support, fixes #1925
1. BORG_*_PREFIX is checked (avoids lib detection via pkg-config).
2. pkg-config is tried
3. fallback to bundled C code (or failure in case of OpenSSL)

also:
- simplified code again
- removed (c) headers, nothing left of original code
2019-03-13 18:26:47 +01:00
Thomas Waldmann
f7525156c1 update release workflow using twine (docs, scripts), see #4213 2019-02-01 22:07:49 +01:00
Thomas Waldmann
55717c4751 pytest: use latest version 2018-11-16 01:04:56 +01:00
Thomas Waldmann
56ae559b07 avoid pytest4 issues for now 2018-11-16 00:28:13 +01:00
Thomas Waldmann
43184f2dd1 exclude broken pytest 3.3.0 release
https://github.com/pytest-dev/pytest/issues/2957
2017-12-02 17:43:38 +01:00
Thomas Waldmann
7e94d42853 exclude Cython 0.27(.0) in requirements, fixes #3066
https://github.com/cython/cython/issues/1880
2017-09-29 01:36:22 +02:00
Alexander-N
ad7f544e6b Fix coala requirements
Put each package on a separate line.

Error was:
  Invalid requirement: 'coala coala-bears'
2017-07-15 10:03:36 +02:00
Marian Beermann
3fea2ac05e docs: switch to a fresher theme
incidentally, fixes font size mismatches on firefox and chrome,
at the same time. marvellous.
2017-06-18 01:27:29 +02:00
Thomas Waldmann
fed5873e29 remove attic dependency of the tests, fixes #2505
attic.tar.gz contains a repo + corresponding keyfile - all the
upgrader module tests need.

.tar.gz because the .tar was 20x bigger.
2017-06-06 04:26:48 +02:00
TW
28e4eb4ea3 add a .coafile for coala (#2592)
add support for using coala, fixes #1366

ignores / disable are set up so that there are not many faults.
we can improve that iteratively.
2017-06-03 15:13:21 +02:00
Ronny Pfannschmidt
132f0006d3 enhance travis setuptools_scm situation
* add setuptools_scm to the development requirements
* print the own version at install time
* unshallow the repo and fetch all tags
2017-04-01 18:25:45 +02:00
Thomas Waldmann
740312f725 Merge branch '1.0-maint' into merge-1.0-maint
# Conflicts:
#	requirements.d/development.txt
#	tox.ini
2017-01-15 01:15:04 +01:00
Thomas Waldmann
555c6a95e4 add pip and setuptools to requirements file, fixes #2030
sometimes the system pip/setuptools is rather old and causes
warnings or malfunctions in the primary virtual env.
2017-01-14 23:23:36 +01:00
Marian Beermann
ecad0ed53a Merge branch '1.0-maint' into merge/1.0-maint
# Conflicts: ... everywhere ...
#	.travis.yml
#	Vagrantfile
#	borg/testsuite/key.py
#	docs/changes.rst
#	docs/quickstart.rst
#	docs/usage.rst
#	docs/usage/upgrade.rst.inc
#	src/borg/archive.py
#	src/borg/archiver.py
#	src/borg/crypto.pyx
#	src/borg/helpers.py
#	src/borg/key.py
#	src/borg/remote.py
#	src/borg/repository.py
#	src/borg/testsuite/archive.py
#	src/borg/testsuite/archiver.py
#	src/borg/testsuite/crypto.py
#	src/borg/testsuite/helpers.py
#	src/borg/testsuite/repository.py
#	src/borg/upgrader.py
#	tox.ini
2017-01-12 15:01:41 +01:00