1. 19 Jul, 2018 1 commit
  2. 18 Jul, 2018 2 commits
  3. 12 Jun, 2018 1 commit
    • qingszhao's avatar
      Update python3 versions in tox.ini envlist · 6c546bc9
      qingszhao authored
      This updates the envlist to include modern versions of python. It
      doesn't really mean anything except for you run tox without specifying
      an environment it will now run py35 and py36 instead of py34 (which
      isn't used anywhere anymore)
      
      Change-Id: I935cf6d104fa5b516332cbb587d327dc587d0c32
      6c546bc9
  4. 11 Jun, 2018 1 commit
    • qingszhao's avatar
      fix tox python3 overrides · 0ddb7ec6
      qingszhao authored
      We want to default to running all tox environments under python 3, so
      set the basepython value in each environment.
      
      We do not want to specify a minor version number, because we do not
      want to have to update the file every time we upgrade python.
      
      We do not want to set the override once in testenv, because that
      breaks the more specific versions used in default environments like
      py35 and py36.
      
      Change-Id: I70b4fb58c7800158907d80f83018e39d1b785668
      0ddb7ec6
  5. 29 Mar, 2018 1 commit
  6. 02 Dec, 2017 1 commit
  7. 01 Dec, 2017 1 commit
  8. 10 Oct, 2017 1 commit
  9. 20 Sep, 2017 1 commit
    • zhangyangyang's avatar
      Remove py26 support · 55898015
      zhangyangyang authored
      as of mitaka, the infra team won't have the resources available to
      reasonably test py26, also the oslo team is dropping py26 support
      from their libraries. sine we rely on oslo for a lot of our work,
      and depend on infra for our CI, we should drop py26 support too.
      
      Change-Id: I628f5a1463a893bfc16f795ef7144cd2376130de
      Closes-Bug: #1519510
      55898015
  10. 27 Feb, 2017 1 commit
    • Stephen Finucane's avatar
      tox: Don't set skipsdist=True · 882875a6
      Stephen Finucane authored
      skipsdist is used to "avoid expensive sdist" but prevents the software
      package from being installed in the virtualenv. We currently have this
      enabled, but then skip the step by including the current package in the
      requirements section, which mitigates the entire thing.
      
      Stop setting skipsdist to True, allowing us to remove '.' from
      requirements and use tox the way it's meant to be used.
      
      Change-Id: I543f0c6679c39c7ae438fd1e5fca7175b92ed193
      882875a6
  11. 24 Feb, 2017 1 commit
    • Ian Wienand's avatar
      Remove testr entry point · e3ad98ca
      Ian Wienand authored
      A "testr" entry-point was added to PBR in
      I2227adf3643ffe6bcece0c7d2127d23e20d52f7a in Jun 2013.  However,
      testrepository had already started providing this same
      disutils.commands entry-point in Jan 2013 [1].
      
      I am not sure if it is deterministic who wins when two packages
      declare the same entry-point, but at least for me, running "python
      setup.py testr ..." was not calling into any of the pbr hooks.  I
      discovered this because I wanted to use the --coverage-package-name
      argument provided by the pbr testr wrapper because to s/-/_ in dib.
      
      The original change (I8e4bc9bb78be37b4d13f8d6c2edfe2d67554ad78)
      overrides the setuptools provided "test" [2] to call testrepository
      when it sees a .testr.conf file (falling back to nose for
      compatability).  So it seems the intention was not to add a "testr"
      command, but that "test" is overridden to run testr automatically when
      available.
      
      Therefore I think that testrepository owns the distutils.command
      entry-point for "testr".  To avoid confusion we should remove the
      duplicate entry-point here and just leave the "test" command
      overrides.
      
      I've added documentation on the test command.  The testr/test split is
      quite confusing, being only one letter different, so that is called
      out explicitly.  Comments in testr_command are updated to reflect
      what's happening better.  This also converts the calls in tox.ini to
      use the PBR wrapper "test".
      
      [1] https://github.com/testing-cabal/testrepository/commit/2a36806c698f67f4707cfccb4baabb473e38f06c#diff-2eeaed663bd0d25b7e608891384b7298R96
      [2] https://github.com/pypa/setuptools/blob/master/setuptools/command/test.py
      
      Change-Id: I5b68f03e782fef5c45424c04cc851be5988f9019
      e3ad98ca
  12. 03 Jan, 2017 1 commit
    • Dirk Mueller's avatar
      Add Constraints support · 1070ae64
      Dirk Mueller authored
      Adding constraints support to clients is slightly more complex than
      services as the clients themselves are listed in
      upper-constraints.txt which leads to errors that you can't install
      a specific version and a constrained version.
      
      This change adds constraints support by also adding a helper script
      to edit the constraints to remove pbr.
      
      Change-Id: I80a10f80e2c5efafb099a6c1dcebe8f0935ace09
      1070ae64
  13. 12 Jul, 2016 1 commit
    • ChangBo Guo(gcb)'s avatar
      Add Python 3.5 classifier and venv · 4480b9e0
      ChangBo Guo(gcb) authored
      Now that there is a passing gate job, we can claim support for
      Python 3.5 in the classifier. This patch also adds the convenience
      py35 venv.
      
      Change-Id: I38213e5ade2e9b1329262c9b28b87ce1cabc279a
      4480b9e0
  14. 11 Dec, 2015 1 commit
  15. 10 Dec, 2015 1 commit
  16. 09 Dec, 2015 1 commit
    • Luo Gangyi's avatar
      Enable pep8 H405 tests · 768c5347
      Luo Gangyi authored
      Enabled H405 multi line docstring summary not separated with an empty
      line in tox testing.
      
      Change-Id: I1a4bfbd2bad6eb2c132843ca21451807737121df
      Closes-Bug:#1524176
      768c5347
  17. 11 May, 2015 1 commit
    • Robert Collins's avatar
      Finish removing invocations of pip. · d67f22fc
      Robert Collins authored
      We don't depend on recursive installations via pip - and pip certainly
      doesn't support that. We removed part of it recently, finish removing
      it all.
      
      Change-Id: I29bc4070b355e52124ceae459ea20403d134b60a
      d67f22fc
  18. 21 Dec, 2014 2 commits
    • Monty Taylor's avatar
      Port in git sha changes from 0.10 line · c01b8dae
      Monty Taylor authored
      Stop including git sha in version strings
      
      We include it in pbr.json now. Including it is contentious in the world
      of python, and it's up for debate as to whether or not it provides value.
      
      Write and read more complex git sha info
      
      Instead of encoding the git sha into the version string, add it to
      a metadata file. This will allow us to get out of the business of
      arguing with pip and setuptools about version info. In order to make
      this really nice, provide a command line utility called "pbr" that has
      subcommands to print out the metadata that we're now including in the
      egg-info dir.
      
      Only import sphinx during hook processing
      
      When pbr is imported to handle writing the egg_info file because of
      the entry point, it's causing sphinx to get imported. This has a
      cascading effect once docutils is trying to be installed on a system
      with pbr installed. If some of the imports fail along the way, allow
      pbr to continue usefully but without the Sphinx extensions
      available. Eventually, when everything is installed, those
      extensions will work again when the commands for build_sphinx, etc.
      are run separately.
      
      Also slip in a change to reorder the default list of environments
      run by tox so the testr database is created using a dbm format
      available to all python versions.
      
      Integration test PBR commits
      
      Make sure that if a PBR commit is being tested then we install and
      use that source rather than the latest PBR release.
      
      Change-Id: Ie121e795be2eef30822daaa5fe8ab1c2315577ae
      (cherry picked from commit 65f4fafd)
      (cherry picked from commit cd7da239)
      Closes-Bug: #1403510
      Co-Authored-By: default avatarClark Boylan <clark.boylan@gmail.com>
      Co-Authored-By: default avatarDoug Hellmann <doug@doughellmann.com>
      Co-Authored-By: Jeremy Stanley's avatarJeremy Stanley <fungi@yuggoth.org>
      c01b8dae
    • Jeremy Stanley's avatar
      Integration test PBR commits · cd7da239
      Jeremy Stanley authored
      * pbr/packaging.py(_get_version_from_git): Correct a bug which is
      causing install failures for PBR-based projects with no Git tags.
      This slipped through because integration testing was using the most
      recent PBR release rather than the commit being proposed.
      
      * tools/integration.sh: Make sure that if a PBR commit is being
      tested then we install and use that source rather than the latest
      PBR release.
      
      * tox.ini(testenv:pep8): Get rid of the custom deps list for pep8
      and inherit the one from testenv which is already fixed with the
      self-dependency. Without this, pep8 jobs fail when run with
      Setuptools 8.
      
      Change-Id: Icc7275261e8fc0df8b0ae99184437ca50b89c13a
      cd7da239
  19. 17 Dec, 2014 1 commit
    • Doug Hellmann's avatar
      Only import sphinx during hook processing · 65f4fafd
      Doug Hellmann authored
      When pbr is imported to handle writing the egg_info file because of
      the entry point, it's causing sphinx to get imported. This has a
      cascading effect once docutils is trying to be installed on a
      system with pbr installed. If some of the imports fail along the way,
      allow pbr to continue usefully but without the Sphinx extensions
      available. Eventually, when everything is installed, those extensions
      will work again when the commands for build_sphinx, etc. are run
      separately.
      
      Also slip in a change to reorder the default list of environments run by
      tox so the testr database is created using a dbm format available to all
      python versions.
      
      Change-Id: I79d67bf41a09d7e5aad8ed32eaf107f139167eb8
      Closes-bug: #1403510
      65f4fafd
  20. 03 Sep, 2014 1 commit
  21. 12 Aug, 2014 2 commits
  22. 22 Jul, 2014 1 commit
    • Christian Berendt's avatar
      Bump hacking to 0.9.x series · b077c056
      Christian Berendt authored
      Ignore H904 because it's a deprecated hacking check.
      Ignore H405 because it should be fixed with a separate patch.
      
      Change-Id: I2e3bf41474cead1a860810886791e025139cca3b
      b077c056
  23. 08 Apr, 2014 1 commit
    • Sean Dague's avatar
      make pbr use hacking directly · 8494418e
      Sean Dague authored
      Remove flake8 from pbr's requirements file, we should be requiring
      hacking instead, and let hacking pull in flake8.
      
      Change-Id: I6e7135a07e3ca6b9e26fcc9623b1434ecba1444f
      8494418e
  24. 10 Feb, 2014 1 commit
    • Jeremy Stanley's avatar
      Remove tox locale overrides · ca67985f
      Jeremy Stanley authored
      * tox.ini: The LANG, LANGUAGE and LC_ALL environment overrides were
      introduced originally during the testr migration in an attempt to be
      conservative about the possibility that locale settings in the
      calling environment could cause consistency problems for test runs.
      In actuality, this should be unnecessary and any place where it does
      cause issues ought to be considered an actual bug. Also, having
      these in the configuration actively causes older pip to have
      problems with non-ASCII content in some package metadata files under
      Python 3, so drop it now.
      
      Change-Id: Ic09e1f7f90216064d550bc06c6301d5e1779b5aa
      Closes-Bug: #1277495
      ca67985f
  25. 22 Sep, 2013 1 commit
  26. 27 Aug, 2013 1 commit
  27. 14 Aug, 2013 1 commit
    • Robert Collins's avatar
      Stop checking periods in commit messages · 00f878c5
      Robert Collins authored
      This breaks various peoples fingers and there was no overwhelming
      community support, nor historical evidence, for enforcing the proposed
      rule in either direction.
      
      Change-Id: Id2a5af9bb8a49af0a2f94b38a8e7d5ef1208e627
      00f878c5
  28. 21 Jul, 2013 1 commit
    • Doug Hellmann's avatar
      Fix python 3.3 tests · 6aeee95e
      Doug Hellmann authored
      We can go back to using the official release of
      testrepository for testing under python 3, so
      do.
      
      Make python 3.3 part of the default environment
      set for anyone running all of the tests.
      
      Change-Id: I0c56f9cde643ef8580ab305080bc62b87809bf7e
      6aeee95e
  29. 15 Jul, 2013 1 commit
    • Julien Danjou's avatar
      Add Python 3.3 checking · 5f94c7ee
      Julien Danjou authored
      This adds support for a working py33 tox target.
      
      Change-Id: Icfe1ed7dd256568f33487d03ba9c9be9a454c84a
      5f94c7ee
  30. 11 Jul, 2013 1 commit
  31. 29 May, 2013 1 commit
  32. 08 Apr, 2013 1 commit
  33. 20 Mar, 2013 1 commit
    • Monty Taylor's avatar
      Update tox to run hacking. · 806a5b91
      Monty Taylor authored
      pbr can't depend on hacking, because hacking depends on pbr. But,
      we can put it into the tox file.
      
      Change-Id: I49d17917f79c167ae7df9bef3f59047e5c12d33e
      806a5b91
  34. 18 Mar, 2013 1 commit
  35. 12 Mar, 2013 1 commit
  36. 10 Mar, 2013 1 commit
    • Monty Taylor's avatar
      Split out oslo.packaging. · aa4641f0
      Monty Taylor authored
      Include logic taken from d2to1 to allow us to inject into setup.py. Combined
      with ols openstack/common/setup.py code.
      
      Change-Id: I27b341403bb8245e38f8e3c386f1a835b90b1843
      aa4641f0