Commit Graph

18 Commits

Author SHA1 Message Date
Matthew Planchard
8639ad3d40 Provide Prerelease Testing for Twine
Resolves #203
Related to pypa/twine#314

This commit adds an ``sh -c`` call, whose argument is the value of the
environment variable ``PYPISERVER_SETUP_CMD``, or ``true`` if that
variable is not set. This was specifically added to enable the
``pre_twine`` environment, which is provided to automatically test
pre-releases of twine, both for our use (e.g. #203) and for the use of
the twine maintainers (pypa/twine#314).

The capacity to specify an arbitrary setup command via an environment
variable may also wind up being useful in other cases in the future.

In addition, the envlist is updated to include only Python versions we
actually support.

This commit also alphabetizes the ``dev.pip`` requirements and rmeoves
specific requirements for testing using Python 2.5 (which we do not test
against anymore).
2018-03-06 20:08:14 -06:00
Matthew Planchard
1770f3cf93 Updated Tests
In addition to including tests from @jameshiebert with slight
updates, I have also resolved an issue with newer versions of twine,
which require an extra parameter in the calls to `upload` and
`register`.
2017-11-14 11:02:44 -06:00
Matthew Planchard
4a299ec40b Added python3.5 support to setup.py and tests for #108
- Added wheel to dev requirements
2016-01-20 23:30:22 +01:00
Kostis Anagnostopoulos
0c4c27fa5c v1.2.0.dev1 (<--1.1.10): Stop supporting py<2.7 & py<3.3 (#107). 2016-01-20 20:05:47 +01:00
Kostis Anagnostopoulos
cee248110b TravisCI: Stop testing on py3.2; too old! 2016-01-20 19:21:52 +01:00
Kostis Anagnostopoulos
c07dbd6b11 FIX Requirements.
+ Have `tox` read from requirements-file.
+ Add forgotten 'passlib' dep in `setup.py'!
2015-09-18 18:24:33 +02:00
Kostis Anagnostopoulos
6635d4dd74 test-server: Pin twine to 1.6.0.
+ Update centodep-TC with monkeypatch for `twine<1.6.0`.
2015-09-17 20:20:14 +02:00
Kostis Anagnostopoulos
e32ca3425b Add test_server TCs with twine<-->real process.
+ TC for #82 uploading `dentodeps` package with 200 deps.
2015-09-17 20:04:00 +02:00
Kostis Anagnostopoulos at STUW025
1fd5653317 FIX #55: Allow unauthenticated uploads with -P . option.
+ Add `mock` lib into test-dependencies for py2.
+ travis: Use new containers.
2015-09-11 16:08:13 +02:00
Kostis Anagnostopoulos, Yoga-2
e5857c211e Tox-test also on py34 2015-02-15 22:43:28 +01:00
Ralf Schmitt
8ca376fadc add buildout config/bootstrap 2013-01-04 02:09:11 +01:00
Ralf Schmitt
be52ec1c40 fix .travis.yml, tox.ini
python 2.5 needs an older webob version. so, we add the dependency in
tox.ini. we use tox to run the tests on travis.

remove python 3.3 from travis.yml as it's not there yet.
2012-12-02 02:35:50 +01:00
Ralf Schmitt
2c22237541 add python 3.2 and 3.3 to tox envlist 2012-12-02 01:21:57 +01:00
Ralf Schmitt
6989d316c5 use webtest instead of twill
webtest works with python 3.

we now also get rid of paste and pastedeploy and use
bottle.Bottle.mount instead.
2012-12-02 01:17:55 +01:00
Ralf Schmitt
2f2eeee593 use new pytest.fixture functionality 2012-11-26 22:25:30 +01:00
Ralf Schmitt
e7cf0e1d7f use paste to test non-root installations 2012-04-03 22:59:01 +02:00
Ralf Schmitt
baa2936217 add some tests for the WSGI app 2011-08-30 03:38:59 +02:00
Ralf Schmitt
9e4b3ec32f toxify 2011-08-30 02:37:25 +02:00