From 0722ea12ef3e5b298c16782c23dc925cd4117712 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Mon, 23 Jul 2018 16:12:07 -0300 Subject: [PATCH 1/2] Use a tox environment to update the release files --- HOWTORELEASE.rst | 8 ++++---- dev-requirements.txt | 1 - tox.ini | 13 ++++++++++++- 3 files changed, 16 insertions(+), 6 deletions(-) delete mode 100644 dev-requirements.txt diff --git a/HOWTORELEASE.rst b/HOWTORELEASE.rst index 270b18a..078c35b 100644 --- a/HOWTORELEASE.rst +++ b/HOWTORELEASE.rst @@ -24,13 +24,13 @@ To publish a new release ``X.Y.Z``, the steps are as follows: #. Create a new branch named ``release-X.Y.Z`` from the latest ``master``. -#. Install ``pytest-xdist`` and dev requirements in a virtualenv:: +#. Install ``tox`` in a virtualenv:: - $ pip install -e . -U -r dev-requirements.txt + $ pip install tox -#. Update ``CHANGELOG.rst`` file by running:: +#. Update the necessary files with:: - $ towncrier --version X.Y.Z --yes + $ tox -e release -- X.Y.Z #. Commit and push the branch for review. diff --git a/dev-requirements.txt b/dev-requirements.txt deleted file mode 100644 index 0d2d2d7..0000000 --- a/dev-requirements.txt +++ /dev/null @@ -1 +0,0 @@ -towncrier diff --git a/tox.ini b/tox.ini index 0b69ad7..8bda1c2 100644 --- a/tox.ini +++ b/tox.ini @@ -40,7 +40,18 @@ deps = readme skip_install = true commands = python setup.py check -r -s +[testenv:release] +changedir= +decription = do a release, required posarg of the version number +basepython = python3.6 +skipsdist = True +usedevelop = True +passenv = * +deps = + towncrier +commands = + towncrier --version {posargs} --yes [pytest] addopts = -rsfxX -;; hello + From 6ec967a3f25c2b51c8d102ca5d1b68edc7c9c17c Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Mon, 23 Jul 2018 16:20:22 -0300 Subject: [PATCH 2/2] Prepare release 1.22.3 --- CHANGELOG.rst | 15 +++++++++++++++ changelog/297.trivial.rst | 1 - changelog/9.bugfix | 1 - 3 files changed, 15 insertions(+), 2 deletions(-) delete mode 100644 changelog/297.trivial.rst delete mode 100644 changelog/9.bugfix diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 76b63e2..07713e3 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,3 +1,18 @@ +pytest-xdist 1.22.3 (2018-07-23) +================================ + +Bug Fixes +--------- + +- Fix issue of virtualized or containerized environments not reporting the number of CPUs correctly. (`#9 `_) + + +Trivial Changes +--------------- + +- Make all classes subclass from ``object`` and fix ``super()`` call in ``LoadFileScheduling``; (`#297 `_) + + pytest-xdist 1.22.2 (2018-02-26) ================================ diff --git a/changelog/297.trivial.rst b/changelog/297.trivial.rst deleted file mode 100644 index 8c7688e..0000000 --- a/changelog/297.trivial.rst +++ /dev/null @@ -1 +0,0 @@ -Make all classes subclass from ``object`` and fix ``super()`` call in ``LoadFileScheduling``; diff --git a/changelog/9.bugfix b/changelog/9.bugfix deleted file mode 100644 index 7952d27..0000000 --- a/changelog/9.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix issue of virtualized or containerized environments not reporting the number of CPUs correctly.