16020 Commits

Author SHA1 Message Date
meejah
708892b642
Merge pull request #1426 from LeastAuthority/4150.ci-for-debian-trixie
Some checks failed
CI / coverage (macos-14, 3.12) (push) Has been cancelled
CI / coverage (ubuntu-22.04, 3.12) (push) Has been cancelled
CI / coverage (ubuntu-22.04, pypy-3.9) (push) Has been cancelled
CI / coverage (windows-2022, 3.12) (push) Has been cancelled
CI / integration (false, macos-14, 3.11) (push) Has been cancelled
CI / integration (false, ubuntu-20.04, 3.11) (push) Has been cancelled
CI / integration (false, windows-2022, 3.11) (push) Has been cancelled
CI / integration (true, ubuntu-20.04, 3.12) (push) Has been cancelled
CI / packaging (macos-14, 3.9) (push) Has been cancelled
CI / packaging (ubuntu-22.04, 3.9) (push) Has been cancelled
CI / packaging (windows-2022, 3.9) (push) Has been cancelled
CI / finish-coverage-report (push) Has been cancelled
Set up a CI job to ensure compatibility with Debian Trixie
2025-01-24 11:38:00 -07:00
Florian Sesser
290642de46 Merge remote-tracking branch 'origin/master' into 4150.ci-for-debian-trixie 2025-01-24 15:12:44 +00:00
Florian Sesser
85e607053c Merge remote-tracking branch 'origin/master' into 4150.ci-for-debian-trixie 2025-01-24 15:12:10 +00:00
Florian Sesser
50ecf30bcd Cleanup / Less defensive programming.
If these assumptions fail the build *should* fail.
2025-01-24 15:11:20 +00:00
Florian Sesser
7406d2d411 Install dependency step - insert URL with source for the AWK 2025-01-24 14:48:09 +00:00
meejah
157d50bc10
Merge pull request #1429 from LeastAuthority/4164.fix-read-the-docs-config
Some checks are pending
CI / coverage (macos-14, 3.12) (push) Waiting to run
CI / coverage (ubuntu-22.04, 3.12) (push) Waiting to run
CI / coverage (ubuntu-22.04, pypy-3.9) (push) Waiting to run
CI / coverage (windows-2022, 3.12) (push) Waiting to run
CI / finish-coverage-report (push) Blocked by required conditions
CI / integration (false, macos-14, 3.11) (push) Waiting to run
CI / integration (false, ubuntu-20.04, 3.11) (push) Waiting to run
CI / integration (false, windows-2022, 3.11) (push) Waiting to run
CI / integration (true, ubuntu-20.04, 3.12) (push) Waiting to run
CI / packaging (macos-14, 3.9) (push) Waiting to run
CI / packaging (ubuntu-22.04, 3.9) (push) Waiting to run
CI / packaging (windows-2022, 3.9) (push) Waiting to run
Fix `Read the Docs` config
2025-01-23 22:26:54 -07:00
Florian Sesser
c3e4cace2f Fix Read the Docs config
Building ReadTheDocs without explicitly pointing to the configuration to use
has been deprecated in order to make builds more explicit and predictable:
https://about.readthedocs.com/blog/2024/12/deprecate-config-files-without-sphinx-or-mkdocs-config/

Fixes [ticket: 4164](https://tahoe-lafs.org/trac/tahoe-lafs/ticket/4164)
2025-01-23 19:31:03 +00:00
Florian Sesser
7b8c5d0358 Don't fail on trying to remove nonexisting file 2025-01-23 18:47:50 +00:00
Florian Sesser
d77f09087d Work around CircleCI not supporting globbing for artifacts 2025-01-23 18:26:41 +00:00
Florian Sesser
f4082468f9 Trigger CI 2025-01-17 10:54:46 +00:00
meejah
fc030da8df
Merge pull request #1427 from LeastAuthority/4158.invalid-escape-sequence
Some checks failed
CI / coverage (macos-14, 3.12) (push) Has been cancelled
CI / coverage (ubuntu-22.04, 3.12) (push) Has been cancelled
CI / coverage (ubuntu-22.04, pypy-3.9) (push) Has been cancelled
CI / coverage (windows-2022, 3.12) (push) Has been cancelled
CI / integration (false, macos-14, 3.11) (push) Has been cancelled
CI / integration (false, ubuntu-20.04, 3.11) (push) Has been cancelled
CI / integration (false, windows-2022, 3.11) (push) Has been cancelled
CI / integration (true, ubuntu-20.04, 3.12) (push) Has been cancelled
CI / packaging (macos-14, 3.9) (push) Has been cancelled
CI / packaging (ubuntu-22.04, 3.9) (push) Has been cancelled
CI / packaging (windows-2022, 3.9) (push) Has been cancelled
CI / finish-coverage-report (push) Has been cancelled
4158: Fix a bunch of "SyntaxWarning: invalid escape sequence"
2025-01-15 13:05:09 -07:00
Florian Sesser
dc65ecf98c Add detail to newsfragment and trigger CI in the process 2025-01-15 19:08:39 +00:00
meejah
a1efd53c53
Merge pull request #1425 from sgerodes/master
Some checks are pending
CI / coverage (macos-14, 3.12) (push) Waiting to run
CI / coverage (ubuntu-22.04, 3.12) (push) Waiting to run
CI / coverage (ubuntu-22.04, pypy-3.9) (push) Waiting to run
CI / coverage (windows-2022, 3.12) (push) Waiting to run
CI / finish-coverage-report (push) Blocked by required conditions
CI / integration (false, macos-14, 3.11) (push) Waiting to run
CI / integration (false, ubuntu-20.04, 3.11) (push) Waiting to run
CI / integration (false, windows-2022, 3.11) (push) Waiting to run
CI / integration (true, ubuntu-20.04, 3.12) (push) Waiting to run
CI / packaging (macos-14, 3.9) (push) Waiting to run
CI / packaging (ubuntu-22.04, 3.9) (push) Waiting to run
CI / packaging (windows-2022, 3.9) (push) Waiting to run
fix(parse_duration): resolve error when parsing durations in seconds
2025-01-15 03:43:21 -07:00
Florian Sesser
ad1e486665 (No) news. 2025-01-13 21:44:02 +00:00
Florian Sesser
ce1326176a Compiled regexes don't like raw strings, only byte strings 2025-01-13 21:41:06 +00:00
Florian Sesser
a733ba6ef9 Mark a couple of strings with backslashes in them as 'raw strings'
Refs [ticket: 4158](https://tahoe-lafs.org/trac/tahoe-lafs/ticket/4158)
2025-01-13 21:25:09 +00:00
Florian Sesser
e58609e16d Try to get .deb output path right 2025-01-12 07:21:10 +00:00
Florian Sesser
a6f9b2b3fa Install the package and run the CLI once 2025-01-12 06:10:14 +00:00
Florian Sesser
e81fc53e8b Clean up the patching from the CI job. 2025-01-12 06:04:35 +00:00
Florian Sesser
cc86876fe2 Don't apply packaging's patches - we want vanilla tahoe to be compatible with Debian-13. 2025-01-12 05:56:38 +00:00
Florian Sesser
f58eb85398 Hey Towncrier we have a working Debian package again! 2025-01-10 18:48:06 +00:00
Florian Sesser
ac47e299d2 Wtf, CircleCI doesn't support globbing for collecting artifacts 2025-01-10 18:43:50 +00:00
Florian Sesser
abd0b3ac1a Debian Trixie is Debian 13 2025-01-10 18:31:27 +00:00
Florian Sesser
88608fb044 Store artefact (built deb package) 2025-01-10 18:26:57 +00:00
Florian Sesser
adf7cbf2b3 For kicks - try what happens if we don't stop when Quilt fails 2025-01-10 18:05:37 +00:00
Florian Sesser
b9283fd8b1 I thought CircleCI might stay in the directory in between steps but maybe not? 2025-01-10 17:58:14 +00:00
Florian Sesser
6f3af15bf2 Do the empty curlies convince CircleCI to work on my job? 2025-01-10 17:53:10 +00:00
Florian Sesser
919999bea4 Set up a CI job to build and test the Debian packaging
Refs [ticket: 4150](https://tahoe-lafs.org/trac/tahoe-lafs/ticket/4150)
2025-01-10 17:39:57 +00:00
sgerodes
8aed2d51c8 fix(time_format): invalid comparison of strings to enums 2025-01-10 01:00:54 +01:00
sgerodes
c73541a88b chore(news): add newsfragment for ticket #4155 to ensure codechecks pass 2025-01-10 00:49:38 +01:00
sgerodes
14bf5adadb refactor(time_format): enhance duration parsing with Enum and dynamic regex
- Introduced `ParseDurationUnitFormat` Enum for cleaner unit handling.
- Improved `parse_duration` to support case-insensitive matching and dynamic error messages.
- Added detailed docstrings for better clarity and usability.
- Refactored and added testcases
2025-01-10 00:48:00 +01:00
meejah
f45175569e
Merge pull request #1423 from a-detiste/master
Some checks failed
CI / coverage (macos-14, 3.12) (push) Has been cancelled
CI / coverage (ubuntu-22.04, 3.12) (push) Has been cancelled
CI / coverage (ubuntu-22.04, pypy-3.9) (push) Has been cancelled
CI / coverage (windows-2022, 3.12) (push) Has been cancelled
CI / integration (false, macos-14, 3.11) (push) Has been cancelled
CI / integration (false, ubuntu-20.04, 3.11) (push) Has been cancelled
CI / integration (false, windows-2022, 3.11) (push) Has been cancelled
CI / integration (true, ubuntu-20.04, 3.12) (push) Has been cancelled
CI / packaging (macos-14, 3.9) (push) Has been cancelled
CI / packaging (ubuntu-22.04, 3.9) (push) Has been cancelled
CI / packaging (windows-2022, 3.9) (push) Has been cancelled
CI / finish-coverage-report (push) Has been cancelled
clean Python2 syntax
2025-01-08 22:04:48 -07:00
Alexandre Detiste
66e1b5e839 towncrier 2025-01-08 20:43:42 +01:00
sgerodes
c09a0ebeb2 feat(parse_duration): improve the error message 2025-01-08 16:56:03 +01:00
sgerodes
875f7fa47e test(parse_duration): add tests for seconds 2025-01-08 16:50:29 +01:00
sgerodes
a555c13f38 fix(parse_duration): resolve error when parsing durations in seconds
- Added support for parsing durations specified in seconds (e.g., "10s").
- Fixed an issue where configuring seconds previously resulted in errors due to missing elif statement.
2025-01-08 16:42:10 +01:00
meejah
048c0850a8
Merge pull request #1424 from LeastAuthority/4145.ci-remove-old-python-from-nixos
Some checks failed
CI / coverage (macos-14, 3.12) (push) Has been cancelled
CI / coverage (ubuntu-22.04, 3.12) (push) Has been cancelled
CI / coverage (ubuntu-22.04, pypy-3.9) (push) Has been cancelled
CI / coverage (windows-2022, 3.12) (push) Has been cancelled
CI / integration (false, macos-14, 3.11) (push) Has been cancelled
CI / integration (false, ubuntu-20.04, 3.11) (push) Has been cancelled
CI / integration (false, windows-2022, 3.11) (push) Has been cancelled
CI / integration (true, ubuntu-20.04, 3.12) (push) Has been cancelled
CI / packaging (macos-14, 3.9) (push) Has been cancelled
CI / packaging (ubuntu-22.04, 3.9) (push) Has been cancelled
CI / packaging (windows-2022, 3.9) (push) Has been cancelled
CI / finish-coverage-report (push) Has been cancelled
Remove NixOS 24.11 CI job for Python 3.10
2025-01-06 18:07:08 -07:00
Florian Sesser
5a51e61450 (No) news. 2025-01-06 22:16:13 +00:00
Florian Sesser
00046c90a7 Remove NixOS 24.11 CI job for Python 3.10
NixOS 24.11 has Python 3.12 as default; for testing 3.10 we
need to compile quite a bit of software on each run, and we
do not learn a lot, since other Linux distributions test 3.10
already.

Refs #4145
2025-01-06 22:09:26 +00:00
Alexandre Detiste
fec97256b9 trim Python2 syntax 2025-01-06 22:51:37 +01:00
Alexandre Detiste
20d2c694c0 trim "six" usage 2025-01-06 22:51:21 +01:00
meejah
1588110f58
Merge pull request #1421 from a-detiste/master
Some checks failed
CI / coverage (macos-14, 3.12) (push) Has been cancelled
CI / coverage (ubuntu-22.04, 3.12) (push) Has been cancelled
CI / coverage (ubuntu-22.04, pypy-3.9) (push) Has been cancelled
CI / coverage (windows-2022, 3.12) (push) Has been cancelled
CI / integration (false, macos-14, 3.11) (push) Has been cancelled
CI / integration (false, ubuntu-20.04, 3.11) (push) Has been cancelled
CI / integration (false, windows-2022, 3.11) (push) Has been cancelled
CI / integration (true, ubuntu-20.04, 3.12) (push) Has been cancelled
CI / packaging (macos-14, 3.9) (push) Has been cancelled
CI / packaging (ubuntu-22.04, 3.9) (push) Has been cancelled
CI / packaging (windows-2022, 3.9) (push) Has been cancelled
CI / finish-coverage-report (push) Has been cancelled
finish removing "future"
2024-12-21 17:49:05 -07:00
Alexandre Detiste
7ca3a4c661 define function before use 2024-12-21 19:08:16 +01:00
Alexandre Detiste
168532de07 finish removing "future" 2024-12-21 19:03:57 +01:00
meejah
60019ba955
Merge pull request #1420 from a-detiste/master
Some checks are pending
CI / coverage (macos-14, 3.12) (push) Waiting to run
CI / coverage (ubuntu-22.04, 3.12) (push) Waiting to run
CI / coverage (ubuntu-22.04, pypy-3.9) (push) Waiting to run
CI / coverage (windows-2022, 3.12) (push) Waiting to run
CI / finish-coverage-report (push) Blocked by required conditions
CI / integration (false, macos-14, 3.11) (push) Waiting to run
CI / integration (false, ubuntu-20.04, 3.11) (push) Waiting to run
CI / integration (false, windows-2022, 3.11) (push) Waiting to run
CI / integration (true, ubuntu-20.04, 3.12) (push) Waiting to run
CI / packaging (macos-14, 3.9) (push) Waiting to run
CI / packaging (ubuntu-22.04, 3.9) (push) Waiting to run
CI / packaging (windows-2022, 3.9) (push) Waiting to run
trim usage of to-be-removed "future" library
2024-12-21 10:28:25 -07:00
Alexandre Detiste
4ac60c5c86 vendor cmp() 2024-12-21 14:57:09 +01:00
Alexandre Detiste
5105112475 add newsfragment 2024-12-21 14:52:08 +01:00
Alexandre Detiste
095f81041c remove some now useless six.ensure_text 2024-12-21 02:14:26 +01:00
Alexandre Detiste
f9a65f82c0 trim usage of to-be-removed "future" library 2024-12-21 02:07:01 +01:00
meejah
7a8ce2e750
Merge pull request #1419 from hacklschorsch/patch-1
Some checks failed
CI / coverage (macos-14, 3.12) (push) Has been cancelled
CI / coverage (ubuntu-22.04, 3.12) (push) Has been cancelled
CI / coverage (ubuntu-22.04, pypy-3.9) (push) Has been cancelled
CI / coverage (windows-2022, 3.12) (push) Has been cancelled
CI / integration (false, macos-14, 3.11) (push) Has been cancelled
CI / integration (false, ubuntu-20.04, 3.11) (push) Has been cancelled
CI / integration (false, windows-2022, 3.11) (push) Has been cancelled
CI / integration (true, ubuntu-20.04, 3.12) (push) Has been cancelled
CI / packaging (macos-14, 3.9) (push) Has been cancelled
CI / packaging (ubuntu-22.04, 3.9) (push) Has been cancelled
CI / packaging (windows-2022, 3.9) (push) Has been cancelled
CI / finish-coverage-report (push) Has been cancelled
Update license / copyright line in README.rst
2024-12-19 21:54:21 -07:00