Commit Graph

343 Commits

Author SHA1 Message Date
Jean-Paul Calderone
80caf04966
Merge pull request #1234 from tahoe-lafs/3947.mutable-test_version-async-def
Convert some tests for mutables to use `async def`

Fixes: ticket:3947
2022-12-21 05:50:07 -05:00
Jean-Paul Calderone
13aa000d0b Some features we depend on are broken in tox 4 2022-12-09 14:12:43 -05:00
Jean-Paul Calderone
4367e5a0fc Bump the Twisted dependency so we can do this 2022-11-30 09:28:58 -05:00
Itamar Turner-Trauring
1a3e3a86c3 Require latest pycddl, and work around a regression. 2022-10-14 11:27:04 -04:00
Itamar Turner-Trauring
abb0379645
Merge pull request #1223 from tahoe-lafs/3928-i2p
Fix i2p integration tests

Fixes ticket:3928
2022-10-03 12:32:28 -04:00
Itamar Turner-Trauring
795ec0b2db Fix flake8 issue. 2022-10-03 11:52:07 -04:00
meejah
2a3b110d53 simple build automation 2022-09-30 16:48:23 -06:00
meejah
5973196931 refactor: use filelock and test it 2022-09-21 19:00:27 -06:00
meejah
fb532a71ef own pid-file checks 2022-09-17 16:31:49 -06:00
Itamar Turner-Trauring
921e3a7712 Don't use broken version of werkzeug. 2022-07-25 09:55:03 -04:00
Itamar Turner-Trauring
da4deab167 Note version with fix. 2022-05-16 11:19:46 -04:00
Itamar Turner-Trauring
5b0762d3a3 Workaround for autobahn issues. 2022-05-10 13:59:58 -04:00
Itamar Turner-Trauring
e5b0e51f72 Server-side schema validation of CBOR. 2022-04-11 13:11:45 -04:00
Itamar Turner-Trauring
9d9ec698e0 Add support for Python 3.10. 2022-02-23 11:07:56 -05:00
Itamar Turner-Trauring
21e288a4d0 Technically don't support 3.10 yet. 2022-02-15 14:35:18 -05:00
Itamar Turner-Trauring
be2590f9b8 Python 2 is now unsupported. 2022-02-15 10:20:52 -05:00
Itamar Turner-Trauring
609bd819bb Merge remote-tracking branch 'origin/master' into 3855-immutable-http-apis-part-1 2022-01-25 10:42:04 -05:00
Itamar Turner-Trauring
e9d6eb8d0e Need some fixes in this version. 2022-01-24 11:30:49 -05:00
Itamar Turner-Trauring
8eb6ab4765 Switch to Python 3.7 as minimal version. 2022-01-24 10:42:09 -05:00
Itamar Turner-Trauring
f09aa8c796 Use pre-existing parser for Range and Content-Range headers. 2022-01-20 11:16:06 -05:00
Itamar Turner-Trauring
7e3cb44ede Pin non-broken version of Paramiko. 2022-01-07 10:13:29 -05:00
Itamar Turner-Trauring
777d630f48 Another dependency. 2021-11-12 12:00:07 -05:00
Itamar Turner-Trauring
e7a5d14c0e New requirements. 2021-11-12 11:25:10 -05:00
Jean-Paul Calderone
efc9dc831b Revert "a stab at using setup.cfg and setuptools_scm"
This reverts commit 68e8e0a7d5.
2021-10-14 11:01:37 -04:00
Jean-Paul Calderone
68e8e0a7d5 a stab at using setup.cfg and setuptools_scm 2021-10-14 10:58:41 -04:00
meejah
0a072a98c8
Merge pull request #1125 from hacklschorsch/3786.openmetrics
3786 Add OpenMetrics (Prometheus) statistics endpoint
2021-09-28 13:21:46 -06:00
Itamar Turner-Trauring
6ef3811112 Prevent conflicting overlapping writes. 2021-09-24 11:54:08 -04:00
Jean-Paul Calderone
7183d53c23 put test dependency in the setuptools test extra 2021-09-23 07:58:02 -04:00
Sajith Sasidharan
65a1040fe8
Update references to the mailing list
New list is tahoe-dev@lists.tahoe-lafs.org, list info page is at
https://lists.tahoe-lafs.org/mailman/listinfo/tahoe-dev, and list
archives are now at https://lists.tahoe-lafs.org/pipermail/tahoe-dev/.

Sadly message numbers in list archive seem to have changed, so
updating references to list archive is not as simple as prefixing
`list.`
2021-08-31 09:58:43 -04:00
Itamar Turner-Trauring
6475b44336 Get rid of unnecessary version constraints. 2021-07-05 16:17:26 -07:00
Itamar Turner-Trauring
72d5bedf14 Depend on newer foolscap. 2021-07-02 10:10:26 -07:00
Sajith Sasidharan
ae6e1e9e2f Use io.open() instead of builtin open()
Windows does not like when we open README.rst using builtin open():

  Traceback (most recent call last):
    File "setup.py", line 360, in <module>
      long_description=open('README.rst', 'rU').read(),
    File "c:\hostedtoolcache\windows\python\3.6.8\x64\lib\encodings\cp1252.py", line 23, in decode
      return codecs.charmap_decode(input,self.errors,decoding_table)[0]
  UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 1720: character maps to <undefined>
2021-04-05 19:11:58 -04:00
Sajith Sasidharan
d9446f9f06 Remove deprecated U mode from open() call
Under the right conditions (with newer Python 3.x versions), we will
see this warning:

    setup.py:360: DeprecationWarning: 'U' mode is deprecated

`U` is for `universal newline mode`.  Docs for open() says this:

    'U' mode is deprecated and will raise an exception in future versions
    of Python.  It has no effect in Python 3.  Use newline to control
    universal newlines mode.

Off it goes.
2021-04-05 18:57:47 -04:00
Sajith Sasidharan
add2be1b44 Pin decorator
CI broke when decorator 5.0.1 (a dependency via pytest-twisted) with
dropped Python 2.7 compatibility was released.
2021-04-02 10:24:43 -04:00
Sajith Sasidharan
d24d0519b1 Continue using known working txi2p for Python 2
Proceeding with caution here, because the txi2p-tahoe fork is rather
hurriedly done, and we are unsure about Tahoe-LAFS' i2p testing story.
None of the currently active Tahoe-LAFS contributors use i2p, so we
won't know if we are breaking things.
2021-03-12 15:21:32 -05:00
Sajith Sasidharan
7c03bb6184 Give CI a kick 2021-03-10 14:48:08 -05:00
Sajith Sasidharan
86853dc3d0 Use forked release of txi2p for Python 3 support
We've poked https://github.com/str4d/txi2p/issues/10 a few times with
requests for a new release, with scant success.  So txi2p-tahoe is a
thing now.
2021-03-10 13:26:21 -05:00
Jean-Paul Calderone
7b82a1230f Drop txi2p for Python 3 entirely
PEP-508 "URL lookups" are unsupported in packages released on PyPI
2021-03-01 13:47:39 -05:00
Jean-Paul Calderone
7c9e757f70 go back to a released txi2p for python 2 2021-03-01 13:44:27 -05:00
Itamar Turner-Trauring
9ca17d780e Add some overall timeout, and timeout on specific test that seems to be the
issue somehow.
2021-01-13 10:21:06 -05:00
Itamar Turner-Trauring
ce58f63040 Merge remote-tracking branch 'origin/master' into 3584.integration-tests-sftp 2021-01-11 13:55:03 -05:00
Itamar Turner-Trauring
c1bc69e1f7 Remove two more references to FTP. 2021-01-08 13:47:32 -05:00
Itamar Turner-Trauring
a536a1a970 First passing end-to-end test of SFTP 2021-01-07 12:50:31 -05:00
Jean-Paul Calderone
ae87d53e49 Let us have a ~5ish coverage 2020-12-29 13:35:33 -05:00
Itamar Turner-Trauring
052b3d9fb1 Re-enable logging validation on Python 3. 2020-12-16 10:06:59 -05:00
Jean-Paul Calderone
b1244543f2 Bump to a Twisted that has Site.getContentFile support 2020-11-18 15:42:10 -05:00
Itamar Turner-Trauring
dce8d3598a Be even more lenient, in the hopes of working on Nix. 2020-10-27 08:54:16 -04:00
Itamar Turner-Trauring
4b7ab2bfd8 Version that works with Python 2. 2020-10-26 16:54:19 -04:00
Itamar Turner-Trauring
d5333ae9f9 Merge remote-tracking branch 'origin/master' into 3485.backported-configparser-for-py-2 2020-10-26 16:53:19 -04:00
Itamar Turner-Trauring
f50fd8e474 Switch to new configparser backport. 2020-10-26 12:12:46 -04:00