Commit Graph

21 Commits

Author SHA1 Message Date
Kostis Anagnostopoulos a9d8c18163 chore(travis): +py36, +pypy3, no-sudo, with `tox-travis` plugin
from https://github.com/tox-dev/tox-travis
2017-10-31 12:55:31 -05:00
Matthew Planchard 4b94647cef * trying update within gen-standalone again 2016-07-17 16:35:39 -05:00
Matthew Planchard 45cc42c5a6 Local certfile 2016-07-17 16:25:09 -05:00
Matthew Planchard c6a8568e74 * attempting cert update within `gen_standalone.sh` 2016-07-17 15:38:53 -05:00
Matthew Planchard 5371afdaaa * Removed cert update from travis 2016-07-17 15:13:58 -05:00
Matthew Planchard 14c599773b * Attempt to update certs via travis 2016-07-17 15:04:00 -05:00
Matthew Planchard a05d5a103b Update Tests for New Twine
* Updated .travis.yml to fix PEP 440 warnings
* Fixed twine calls

We were getting test failures on multiple branches in
`test_server.py`. I first investigated a warning message
popping up in every test run:

```
PEP440Warning,
/home/travis/virtualenv/python3.5.2/lib/python3.5/site-packages/pkg_resources/__init__.py:2510: PEP440Warning: 'setuptools (git-0.4.0)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
```

Moving the installation of setuptools, pip, sphinx, and tox
into the `install` key for Travis resolved that issue, but
`test_server.py` tests were still failing. It turns out that
Twine 1.7.0 added support for SSL cert specification and,
in the process, changed the call signature for the `upload`
and `register` internal methods.

This PR fixes the calls so that they align with Twine's new
function signature. Note that tests now fail on Twine <1.7.0,
so I have also updated the dev requirements file.
2016-07-17 14:35:58 -05:00
Kostis Anagnostopoulos 62f60ccef7 docs: Add mplanchard into maintainers.
- ci: check standalone before anything else.
2016-06-28 13:18:03 +02:00
Kostis Anagnostopoulos 18e5a8dbcb FIX #154, docs: TC-script checking README RST-compliance for PyPi. 2016-06-28 13:05:11 +02: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
ankostis on tokoti 133afe28f7 Rework standalone generation using ZIP.
+ Standalone executable based on wheel.
+ Properly use `pkg_resources` so reading `welcome-msg` file
  works even from within zip.
  + Mark `zip_safe=True` in setup.py.
+ Delete forgotten distutils startup script.
+ Build standalone before installing anything else,
  to check if any deps are missing.
+ Restore py25 in Travis.
2015-09-17 01:13:37 +02:00
ankostis on tokoti bd3612d79a FIX standalone generation under PY3.
Add standalone-creation TC.
2015-09-14 09:56:53 +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 24114e6761 Tox-test PY34 on also on TravisCI and classifiers. 2015-02-17 01:46:01 +01:00
Ralf Schmitt dab48a4f66 use tox without the .travis-runtox script 2014-01-07 16:49:44 +01:00
Ralf Schmitt 7bceb0c4aa don't test with python 2.5 on travisci
looks like a pip/virtualenv bootstrapping problem:

,----
| Downloading/unpacking pytest>=2.3
|
| Exception:
|
| Traceback (most recent call last):
|
| File "/home/travis/build/schmir/pypiserver/.tox/py25/lib/python2.5/site-packages/pip-1.3.1-py2.5.egg/pip/basecommand.py", line 139, in main
|
| status = self.run(options, args)
|
| File "/home/travis/build/schmir/pypiserver/.tox/py25/lib/python2.5/site-packages/pip-1.3.1-py2.5.egg/pip/commands/install.py", line 266, in run
|
| requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
|
| File "/home/travis/build/schmir/pypiserver/.tox/py25/lib/python2.5/site-packages/pip-1.3.1-py2.5.egg/pip/req.py", line 1026, in prepare_files
|
| url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
|
| File "/home/travis/build/schmir/pypiserver/.tox/py25/lib/python2.5/site-packages/pip-1.3.1-py2.5.egg/pip/index.py", line 125, in find_requirement
|
| page = self._get_page(main_index_url, req)
|
| File "/home/travis/build/schmir/pypiserver/.tox/py25/lib/python2.5/site-packages/pip-1.3.1-py2.5.egg/pip/index.py", line 353, in _get_page
|
| return HTMLPage.get_page(link, req, cache=self.cache)
|
| File "/home/travis/build/schmir/pypiserver/.tox/py25/lib/python2.5/site-packages/pip-1.3.1-py2.5.egg/pip/index.py", line 471, in get_page
|
| resp = urlopen(url)
|
| File "/home/travis/build/schmir/pypiserver/.tox/py25/lib/python2.5/site-packages/pip-1.3.1-py2.5.egg/pip/download.py", line 143, in __call__
|
| response = self.get_opener(scheme=scheme).open(url)
|
| File "/home/travis/build/schmir/pypiserver/.tox/py25/lib/python2.5/site-packages/pip-1.3.1-py2.5.egg/pip/download.py", line 201, in get_opener
|
| raise NoSSLError()
|
| NoSSLError:
|
| ###################################################################
|
| ## You don't have an importable ssl module. You are most ##
|
| ## likely using Python 2.5, which did not include ssl ##
|
| ## support by default. In this state, we can not provide ##
|
| ## ssl certified downloads from PyPI. ##
|
| ## ##
|
| ## You can do one of 2 things: ##
|
| ## 1) Install this: https://pypi.python.org/pypi/ssl/ ##
|
| ## (It provides ssl support for older Pythons ) ##
|
| ## 2) Use the --insecure option to allow this insecurity ##
|
| ## ##
|
| ## For more details, go to the "SSL Certificate Verification" ##
|
| ## section located here: ##
|
| ## http://www.pip-installer.org/en/latest/logic.html ##
|
| ## ##
|
| ###################################################################
|
`----
2013-04-02 22:19:17 +02:00
Ralf Schmitt 91f04be369 don't test the standalone branch 2012-12-02 23:22:54 +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
Marc Abramowitz 6caa8e717c Add .travis.yml for Travis CI (http://travis-ci.org/) 2012-06-22 00:53:31 -07:00