Commit Graph

15998 Commits

Author SHA1 Message Date
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
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
Florian Sesser
ff56bae373 (No) news. 2024-12-19 20:19:14 +00:00
Florian Sesser
f187df268e Readme.md: Remove end year of copyright timespan 2024-12-19 20:19:14 +00:00
Florian Sesser
f0f85a6c4e Update README.rst
Update license/copyright string to "-2025" (from "-2020") (a little bit forward looking)
2024-12-19 20:19:14 +00:00
meejah
7683524635
Merge pull request #1415 from meejah/4096.release-1.20-round-three
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
4096: release 1.20.0
2024-12-18 23:38:56 -07:00
meejah
6ba54b880f update release procedure to reflect reality 2024-12-18 22:37:16 -07:00
meejah
f2dbe2e39f whitespace error 2024-12-14 02:13:08 -07:00
meejah
f979efb984 update nix version 2024-12-14 02:13:08 -07:00
meejah
c5de7445cc update relnotes 2024-12-14 02:13:08 -07:00
meejah
34f1124882 missing summary 2024-12-14 02:13:08 -07:00
meejah
772fd59066 fixup NEWS titles 2024-12-14 02:13:08 -07:00
meejah
7ac3dbc02d news 2024-12-14 02:13:08 -07:00
meejah
244a3e643b need tox for testing 2024-12-14 02:13:08 -07:00
meejah
c98a61fef1 update NEWS.txt for release 2024-12-14 02:13:08 -07:00
meejah
27fb8174f3 tox changed their minds again 2024-12-14 02:13:08 -07:00
meejah
22bcd883a4 fix notes 2024-12-14 02:13:08 -07:00
meejah
42fdc4a694
Merge pull request #1382 from jwjacobson/1101.feature
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
1101.feature Add verbose flag to check command
2024-12-14 02:01:15 -07:00
meejah
c363bd8139
Merge pull request #1418 from meejah/4143.refresh-docker-images--copy
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
4143: refresh docker images
2024-12-13 13:37:38 -07:00
meejah
9978fc2370 insist on new-ish tox 2024-12-13 12:13:49 -07:00
meejah
411e32b0d4 final attempt: more timeout for chutney, a comment about (trying to) skip integration failures 2024-12-13 12:12:42 -07:00
JW Jacobson
4a3668712b Merge branch 'master' of https://github.com/tahoe-lafs/tahoe-lafs into 1101.feature 2024-12-13 14:07:44 -05:00
meejah
c5f54a0cad admit defeat 2024-12-13 11:02:20 -07:00
meejah
a7d149f7f9 no slow things, this builder is already very slow 2024-12-13 09:25:34 -07:00