Commit graph

31 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
d35ec93968
allow msgpack 1.1.2
1.1.2 provides wheels for py 3.14.
2025-10-09 17:38:10 +02:00
Thomas Waldmann
a7f130f146
toplevel files: fix typos and grammar 2025-08-10 20:40:03 +02:00
Thomas Waldmann
890605ce5f
pyproject.toml: correctly define test envs for fuse testing
Looks like the toml config format of tox does not yet support
an easier way for generative test environments.
2025-08-09 15:59:44 +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
779a94bb20
support Python 3.14 2025-07-25 13:36:31 +02:00
Thomas Waldmann
75e5db0857
coverage: use pyproject.toml 2025-07-06 15:59:56 +02:00
Thomas Waldmann
f6724bfef2
msgpack: allow 1.1.1
1.1.1rc1 looked good in testing, so hopefully 1.1.1 will also be ok.
2025-06-09 14:50:37 +02:00
Atharva Varpe
330497e230
Update pyproject.toml 2025-05-30 12:05:14 +05:30
Atharva Varpe
1b77ddf5f9 tox: use native pyproject.toml configuration 2025-05-29 08:19:15 +00:00
Thomas Waldmann
69151c7a1a
support and test on Python 3.13 2024-12-25 13:49:01 +01:00
Thomas Waldmann
249b9e804f
allow msgpack 1.1.0
tests with 1.1.0rc1 were successful, thus I assume 1.1.0 will also work ok.
2024-05-20 14:13:40 +02:00
Thomas Waldmann
9c262ccbfb
try msgpack 1.1.0rc1 2024-05-19 16:15:22 +02:00
Thomas Waldmann
30ad61ae5a
require Cython 3.0.3 at least, fixes #8133
The fix for the Python 3.12 memory leak issue was
in Cython 3.0.3+.
2024-03-02 14:21:48 +01:00
Thomas Waldmann
0151c9a38f
allow msgpack 1.0.8, fixes #8133 2024-03-02 14:19:11 +01:00
Thomas Waldmann
2bb4b3d650
sdist: dynamically compute readme (long_description)
The long_desc_from_readme() was not called, it just read the
whole README.rst until "readme" was declared dynamic.
2024-02-10 18:04:28 +01:00
Thomas Waldmann
fd1dad2f79
scripts: rename gendocs.py to make.py 2024-01-30 23:19:09 +01:00
Thomas Waldmann
e2860318fa
git mv setup_docs.py scripts/gendocs.py 2024-01-29 19:56:38 +01:00
Thomas Waldmann
915e58653b
replace flake8 by ruff 2023-12-25 04:20:15 +01:00
Thomas Waldmann
d4f6f137c3
move most settings to pyproject.toml
except: flake8, which will get replaced by ruff.
2023-12-25 03:45:44 +01:00
Thomas Waldmann
2f541cedee
require Cython>=3 2023-12-25 02:20:50 +01:00
Thomas Waldmann
15e847d4d9
require recent setuptools and setuptools_scm 2023-12-23 23:00:04 +01:00
Thomas Waldmann
5049817d43
move setuptools_scm configuration to pyproject.toml 2023-12-23 22:57:53 +01: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
8f820d1f32
add wheel to build-system requirements 2023-09-25 15:34:44 +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
98dea3e876
requirements: remove cython restrictions 2023-08-31 01:03:34 +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
6ab17ee4e1 setuptools_scm: also require it via pyproject.toml
we have this in setup_requires in setup.py, but i also added it to
pyproject.toml - so we can be sure it is installed no matter what.

**configuration** of setuptools_scm is done the old way in setup.py
here in 1.2-maint, in master we have switched that over to pyproject.toml.
2022-04-18 05:00:17 +02:00
Thomas Waldmann
82a80bf760 add pyproject.toml, fix sys.path, fixes #6466
setup.py: add parent to sys.path

When using pyproject.toml the parent of setup.py is not on sys.path by default.

See <pypa/setuptools#3134>.
2022-04-07 18:48:48 +02:00