Commit Graph

73 Commits

Author SHA1 Message Date
meejah
ba5f44354b
Merge pull request #636 from meejah/integration-test-coverage
coverage for integration tests
2019-08-08 18:40:29 +00:00
meejah
43162f2ffe combine for normal runs, too 2019-08-07 13:51:05 -06:00
meejah
8e4b05214a add --coverage for integration tests 2019-08-06 16:47:43 -06:00
Jean-Paul Calderone
bb385d45f7 teach tox about the new --package option 2019-08-02 18:29:04 -06:00
Jean-Paul Calderone
39d989676a Attempt to define pypy27 and pypy27-coverage tox environments 2019-06-25 14:16:09 -04:00
tpltnt
cbec4f803a fixing codechecks / lint for circleci 2019-05-22 10:31:08 +02:00
Jean-Paul Calderone
b4459c2dc1 Merge remote-tracking branch 'origin/master' into 3029.install-test-plugins 2019-05-14 06:26:19 -04:00
Jean-Paul Calderone
0294d14401 explain the new pip freeze in the coverage commands 2019-05-14 03:37:35 -04:00
Jean-Paul Calderone
aec341eea8 explain the pinning in tox deps config 2019-05-14 03:36:34 -04:00
Jean-Paul Calderone
1717243212 Re-pin these because it's nice to know what versions we're using 2019-05-13 11:32:02 -04:00
Jean-Paul Calderone
7c71dd6e14 going to try another fix 2019-05-13 11:18:39 -04:00
Jean-Paul Calderone
27962dcd2f Try pinning *new* versions
Tox released 4 hours ago ******BROKE****** everything by removing the
upgrade-these-packages-automatically feature.

Not that I'm bitter.
2019-05-13 11:14:05 -04:00
Jean-Paul Calderone
33bd9bf503 Get a not-*quite*-so-old version of pip 2019-05-13 10:31:46 -04:00
Jean-Paul Calderone
abf319888d Try pinning pip another way
Previous commit didn't yield any information because the error happens before
the commands are run.
2019-05-13 10:27:41 -04:00
Jean-Paul Calderone
f17647f29c Find out what versions are in the tox environment 2019-05-13 10:23:18 -04:00
Jean-Paul Calderone
af3905ac32 Cannot skipsdisk if you don't want usedevelop 2019-05-08 18:42:17 -06:00
Jean-Paul Calderone
383d1361c8 Turn off usedevelop
It produces less useful test results by testing against a "develop"-installed
codebase.  This masks bugs in our setup.py.
2019-05-08 18:42:17 -06:00
Jean-Paul Calderone
fec5064a2f Get pip and pyinstaller working together. 2019-01-25 10:46:23 -05:00
Jean-Paul Calderone
6d28d08299
Revert "Get pip 19 and pyinstaller 3.4 working together" 2019-01-24 10:33:59 -05:00
Jean-Paul Calderone
007d13d357 watch out when copy/pasting from tox docs 2019-01-23 16:48:34 -05:00
Jean-Paul Calderone
d6bf0d0b25 Try to get pip 19 and pyinstaller 3.4 working together 2019-01-23 16:09:25 -05:00
Jean-Paul Calderone
812125a71f Remove the basepython declaration from the testenv
This works around https://github.com/tox-dev/tox/issues/1020
2019-01-23 11:45:19 -05:00
Jean-Paul Calderone
436cb8fda6 A different work-around for the pep 518 mess 2018-08-06 12:13:33 -04:00
Jean-Paul Calderone
70589aab3d attempt to work around the pip build isolation problem 2018-08-06 12:13:33 -04:00
Jean-Paul Calderone
b13f1cc531 try with only one extra 2018-08-06 12:13:33 -04:00
Jean-Paul Calderone
2422b959df absolute minimum documentation 2018-08-06 10:32:16 -04:00
Jean-Paul Calderone
e0e0abf019 Check for the towncrier news fragment as part of the tox codechecks env. 2018-08-06 10:28:45 -04:00
Jean-Paul Calderone
12a36abf63 Attempt to have a cached wheelhouse for pip 2018-07-09 13:36:40 -04:00
Jean-Paul Calderone
1ebc59b2fe our dependency on subunit is via subunitreporter 2018-07-09 11:39:46 -04:00
Jean-Paul Calderone
97bc77d96b Go straight to a file with the subunit2 output.
It's just too hard otherwise.
2018-07-08 18:49:45 -04:00
Jean-Paul Calderone
80027f3ef1 need this in the tox env too 2018-07-06 17:26:11 -04:00
Jean-Paul Calderone
75367adda7 Avoid duplication of some deps 2018-07-06 10:12:44 -04:00
Jean-Paul Calderone
ad35ee498a Make sure we get the extra deps we need 2018-07-05 19:44:49 -04:00
Jean-Paul Calderone
16e4370630 Generate junitxml and give it to CircleCI 2018-07-05 14:19:23 -04:00
Jean-Paul Calderone
531ac8474b Get certifi to fix the underlying problem
Having certifi magically makes setuptools able to talk to PyPI.  Whew!
2018-07-04 20:14:29 -04:00
Jean-Paul Calderone
c45a53590e re-enable full test suite 2018-06-15 13:24:01 -04:00
Jean-Paul Calderone
a4ac9ba9ce Upload the deprecation warning logs as artifacts 2018-06-15 13:20:46 -04:00
Jean-Paul Calderone
933096bdab Spell the test module correctly. 2018-06-15 13:08:40 -04:00
Jean-Paul Calderone
20cf504973 Remove these duplicated pyflakes checks
There is a dedicated `codechecks` environment.  Use that if you want to
do code checks.
2018-06-15 08:44:52 -04:00
Jean-Paul Calderone
c9c62fb076 Remove check-interfaces.py for spuriousness
It reports a bunch of problems with non-Tahoe-LAFS code and nothing with
Tahoe-LAFS code and therefore is not very useful.
2018-06-15 08:44:26 -04:00
Jean-Paul Calderone
36539eb11c [debugging] Temporarily reduce the cost of testing 2018-06-15 08:44:24 -04:00
Jean-Paul Calderone
2bd63ce27a Tell tox to pass the new env var through 2018-04-03 14:07:17 -04:00
Chris Wood
8c81ca7958 Remove 'deps = .' from pyinstaller tox testenv 2018-03-29 14:29:42 -04:00
Chris Wood
c850638537 Fix PyInstaller builds
This commit contains a few small changes to fix PyInstaller frozen
builds (which were recently broken in a few ways by changes introduced
with `tahoe invite`, `tahoe daemonize`, and the addition of "setuptools
>= 28.8.0" to setup_requires) and removes a couple of hacks that are no
longer necessary to create working frozen tahoe executables with
PyInstaller.
2018-03-29 14:11:15 -04:00
Brian Warner
acc2b5744c tox: use newer (tox-2.4) settings, pre-install 'incremental'
* use 'extras' for our `[test]` additions instead of abusing 'deps'
* use 'deps' to pre-install 'incremental', which we couldn't do when we
  filled it with --editable to get `[test]`
* pre-install 'incremental' to work around a bug that strikes on Travis under
  OS-X-10.12 as PyPI gradually disables TLS<1.2. See ticket 2913 for details
* remove redundant configuration lines
* require tox-2.4 or newer, to get 'extras'

refs ticket:2913
https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2913
2018-03-28 17:42:01 -07:00
Brian Warner
906c4f4f32 move tarball generation to tox.ini
and change the Makefile to delegate the "tarballs" target to tox

This should fix the ticket:2910 problem of the "tarballs" buildbot failing.
2018-03-27 14:34:32 -07:00
Brian Warner
526b97c753 tox: add 'skipsdist=True', hoping this will fix buildbot
There appears to be a bug in setuptools, triggered by running "python
setup.py sdist" with setuptools==11.3 in that python's environment, on a
project whose setup.py has a setup_requires= that requests setuptools >=
28.8.0. When setuptools is upgraded from inside setup.py, it gets into a
weird hybrid state where it's using setup() keyword-argument plugins from the
newer setuptools, but those plugins reference functions that aren't present
in the older setuptools, and the sdist command fails with an import
error (module object has no attribute 'check_specifier').

We don't actually need the sdist: all our tox test environments use
"skip_install = true", because we install tahoe via the "deps" line (so we
can get the `[test]` extra, and get a faster symlink-ish "editable" install).
That install uses "pip", which uses the pip inside the new virtualenv, which
either uses a newer version of setuptools (dependent upon what version of
"virtualenv" was installed in the parent environment, next to tox) or somehow
allows setuptools to be upgraded without exposing this weird broken hybrid
state.

Either way, skipping the sdist seems to fix this problem.

refs ticket:2910
https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2910
2018-03-27 14:08:17 -07:00
meejah
f7cfd62908 tell travis + tox about pytest.twisted in a different way 2018-01-23 12:52:46 -07:00
tpltnt
ac7287677b importing twisted trial instead of allmydata trial 2018-01-04 22:09:52 +01:00
Chris Wood
aaf167b877 Add support for binary builds with PyInstaller
See https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2729
2017-08-10 12:43:34 -07:00