1. 02 8月, 2016 1 次提交
  2. 02 5月, 2016 1 次提交
  3. 18 2月, 2016 1 次提交
    • H
      Use environment marker for conditional requirements · 03c04b98
      Hao Liu 提交于
      Managing different requirements files for different python version
      requires much more efforts when the requirements became too complex.
      
      This issue emerged when a required package `stevedore` decide not
      supporting Python 2.6 since version `1.11.0`.
      
      ```
      >>> import stevedore
      Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
        File "/usr/lib/python2.6/site-packages/stevedore/__init__.py", line 23, in <module>
          LOG.addHandler(logging.NullHandler())
      AttributeError: 'module' object has no attribute 'NullHandler
      ```
      
      Pip provides a feature named [Environment
      Markers](https://www.python.org/dev/peps/pep-0496/) for requirements
      file to include specific packages conditionally which could properly
      solve this issue.
      
      This fix:
      1. Use environment markers and merge python version specific
      requirements files;
      2. Remove python version specific requirements files references in
      `Makefile` and Travis configuration;
      3. Use `pip install -r requirements.txt` to replace per-line package
      installation;
      4. Restrain package `stevedore` on Python 2.6 to `1.10.0`.
      Signed-off-by: NHao Liu <hliu@redhat.com>
      03c04b98
  4. 18 12月, 2015 1 次提交
  5. 09 6月, 2015 1 次提交
    • C
      API review: move avocado.restclient to avocado.core.restclient · adadd5d3
      Cleber Rosa 提交于
      The initial idea about the avocado.restclient namespace was that
      eventually users could write scripts using that as an API to
      interact with avocado-server using Python code.
      
      While the idea is still valid, the avocado-server interface is
      a simple and standards compliant RESTful interface. Thus, users
      can still easily interact with it without us having to support
      a formal Python API at this point.
      
      In the future, if need arises, we can improve the Python REST
      client API and promote it to a public namespace.
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      adadd5d3
  6. 06 5月, 2015 1 次提交
  7. 27 2月, 2015 1 次提交
  8. 26 11月, 2014 1 次提交
  9. 24 11月, 2014 1 次提交
  10. 19 11月, 2014 1 次提交
  11. 21 5月, 2014 1 次提交
  12. 01 5月, 2014 1 次提交
  13. 16 4月, 2014 1 次提交