Brian Warner
6f20dbc9a3
travis: install latest setuptools before running tox
...
The Travis OS-X worker has a very old setuptools-18.5 in /System. This is too
old to understand several important setup.py keys like `python_requires`, and
crashes when tryung to run the first invocation of tox (`tox -e codechecks`).
I think tox is using the system python (with which `tox` was invoked) to run
`setup.py egg_info` (to learn the dependencies), which gets the old
system-installed setuptools. Ideally it'd use the python from the
newly-created virtualenv, which would use whatever version of setuptools was
bundled with the `virtualenv` package (probably newer, given that
`virtualenv` itself should have been installed a moment earlier as a
dependency of `tox`.
I consider this a bug in Tox (https://github.com/tox-dev/tox/issues/507 ), but
the workaround is to configure Travis to install the most recent `setuptools`
along with `tox`.
refs tahoe-lafs/tahoe-lafs#470
2018-03-20 17:31:21 -07:00
Jean-Paul Calderone
3bb4c979c8
Revert "Merge PR470"
...
This reverts commit 7960a1b2a40e71a149cedfb9eefd57e7fc775833, reversing
changes made to 3fa74d860fda1caa97e135779dfaa5d71536b034.
2018-03-20 18:10:44 -04:00
Brian Warner
7960a1b2a4
Merge PR470
...
closes #470
2018-03-20 14:15:43 -07:00
meejah
4eac3caa77
need setuptools for PEP440 identifiers
...
(needs fixup, probably, just depending on latest setuptools)
2018-03-20 14:15:33 -07:00
meejah
3fa74d860f
Merge branch '2885.magic-folder-status.0'
2018-03-20 12:12:16 -06:00
meejah
643e2f9107
fix windows, maybe
2018-03-20 11:40:50 -06:00
meejah
fcfcbaa6a2
fix behavior of fake fileops test-helper
2018-03-20 11:40:49 -06:00
meejah
2fd2a9b2c7
nicer assert
2018-03-20 11:40:49 -06:00
meejah
9df84e71fe
use better error-testing idiom and don't tweak internal method
2018-03-20 11:40:49 -06:00
meejah
57cc877c57
add some context to logging
2018-03-20 11:40:49 -06:00
meejah
ee0f548aa7
describe test
2018-03-20 11:40:49 -06:00
meejah
a06fe375ec
describe test
2018-03-20 11:40:49 -06:00
meejah
c7cbb4a6b3
better var names
2018-03-20 11:40:49 -06:00
meejah
30811d8818
typo
2018-03-20 11:40:49 -06:00
meejah
9032539860
flake8; naming
2018-03-20 11:40:49 -06:00
meejah
797932244d
log failure properly, add test
2018-03-20 11:40:49 -06:00
meejah
39080852cc
ensure 'in progress' items return status
2018-03-20 11:40:49 -06:00
meejah
1f495ec41f
cover uploads and downloads in tests
2018-03-20 11:40:49 -06:00
meejah
dbc9f7e06c
remove code that sets item size (from review)
2018-03-20 11:40:49 -06:00
meejah
75e97e6c6d
use QueuedItem directly instead of FakeStatusItem
2018-03-20 11:40:49 -06:00
meejah
1b16e1f792
Some documentation for QueueMixin
2018-03-20 11:40:49 -06:00
meejah
472d6ba78b
cover some of get_status
2018-03-20 11:40:49 -06:00
meejah
bfabfeba64
add 'size' to tests, print unicode
2018-03-20 11:40:49 -06:00
meejah
0ebb587666
report download sizes in magic-folder status
2018-03-20 11:40:49 -06:00
meejah
0431be14fa
log inotify callback errors
2018-03-20 11:40:49 -06:00
meejah
42766da553
add a 'size' to pending uploads
2018-03-20 11:40:49 -06:00
meejah
8ac63cf5bd
only keep history for items that are processed
2018-03-20 11:40:49 -06:00
meejah
bcdd15394b
ensure there are no gaps in magic-folder status
2018-03-20 11:40:49 -06:00
Jean-Paul Calderone
ee20a694a3
Merge pull request #472 from exarkun/2045.configurable-storage-path
...
Introduce storage path configurable item to tahoe.cfg
Refs ticket:2045
2018-03-19 16:38:06 -04:00
Jean-Paul Calderone
6fd1f12a3c
doc improvements related to the storage dir
2018-03-19 15:28:44 -04:00
Jean-Paul Calderone
371965f7d4
Specify the new optFlag correctly
2018-03-19 15:12:59 -04:00
Jean-Paul Calderone
1f92879788
improve test coverage
2018-03-19 14:21:28 -04:00
Ruben Pollan
136de7d7f7
Add storage_dir config field
...
On the [storage] section of the tahoe.cfg now there is a field
'storage_dir' where the path to the storage folder can be configured.
2018-03-19 11:20:04 -04:00
meejah
a1cb401f06
Merge pull request #452 from meejah/list-aliases-json.1
...
Add --json option to 'tahoe list aliases'
2018-03-13 17:05:20 -06:00
meejah
1c2ff92689
Merge pull request #460 from tpltnt/secure-mktemp
...
switched to secure mkstemp()
2018-03-13 16:10:47 -06:00
tpltnt
a41d827f79
_None() as new style class
2018-03-02 17:17:30 +01:00
tpltnt
1967cd7357
removed unnecessary after return
2018-03-02 16:45:11 +01:00
tpltnt
1a14d5218b
added some docstrings
2018-03-02 16:45:11 +01:00
tpltnt
3f99eceb36
minor whitespace fixes
2018-03-02 16:45:11 +01:00
tpltnt
0461cc0148
only one module import per line
2018-03-02 16:45:11 +01:00
tpltnt
f7bbc9dffe
made mkstemp() call compatible with mktemp()
2018-03-02 16:45:11 +01:00
tpltnt
710ba84a02
switched to secure mkstemp()
2018-02-27 18:35:08 +01:00
Brian Warner
c8f747cb13
Merge branch '2903-appveyor'
...
Fix the 'artifact' upload syntax to get separate wheels for all dependencies.
closes ticket:2903
2018-02-08 12:10:42 -08:00
Brian Warner
9da41d67e2
try a backslash
2018-02-08 11:43:51 -08:00
Brian Warner
33b5da48ff
appveyor.yml: try different artifact syntax
...
With luck this will upload each binary .whl file as a separate "artifact"
file, rather than merging them all together into a single `dist.zip` bundle.
2018-02-08 10:42:31 -08:00
meejah
0442b49846
Merge pull request #457 from meejah/2882.magic-folder-metadata.0
...
ticket #2882 : preserve user mtime
2018-02-06 17:38:42 -07:00
meejah
0b25cad71e
documentation fixups from daira's review
2018-02-06 15:28:02 -07:00
meejah
4f1735586d
integration test for #2882
2018-02-06 15:28:02 -07:00
meejah
1171bf13af
ticket #2882 : preserve user mtime
2018-02-06 15:27:56 -07:00
meejah
5c4312711f
Merge pull request #464 from meejah/pin-pypiwin32
...
pin pypiwin32 version until upstream bug fixed
2018-01-30 13:44:40 -07:00