Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
[update to 5.2] Ensure that a late version of pip is installed withou…
Browse files Browse the repository at this point in the history
…t special versions of tox-venv.

Jason R. Coombs (10):
      Rely on twine 1.13 or later
      Upgrade tox and virtualenv to ensure that environments get recent pips
      Define passenv in tox release section. Rely on __token__ for default username.
      Update docs to reflect changes to deployment.
      Enable coverage reporting on project
      Report the lines missing coverage
      Ensure that a late version of pip is installed without special versions of tox-venv.
      Disable tox-pip-version as it interacts badly with tox-venv causing tox to use the wrong Python version to install packages and run tests. Ref pglass/tox-pip-version#20 and tox-dev/tox-venv#40.
      Bring back tox-pip-version now that pglass/tox-pip-version#20 is fixed.
      Update changelog. Ref #52.

Thomas Grainger (5):
      Add deprecation notice Fixes #50
      Update README.rst
      Update README.rst
      add note how to securely install test deps
      be less prescriptive about alternatives
  • Loading branch information
fenrus75 authored and djklimes committed Oct 28, 2019
1 parent 7fabcc5 commit 2ba7d68
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 14 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.*~
*~
*.info
*.mod
*.swp
.repo-index
*.log
Expand All @@ -8,6 +10,9 @@ build.log.round*
*.tgz
!*.tar.*.*
*.zip
*.jar
*.pom
*.xml
commitmsg
results/
rpms/
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME := pytest-runner
URL = https://files.pythonhosted.org/packages/d9/6d/4b41a74b31720e25abd4799be72d54811da4b4d0233e38b75864dcc1f7ad/pytest-runner-5.1.tar.gz
URL = https://files.pythonhosted.org/packages/5b/82/1462f86e6c3600f2471d5f552fcc31e39f17717023df4bab712b4a9db1b3/pytest-runner-5.2.tar.gz
ARCHIVES =

include ../common/Makefile.common
2 changes: 2 additions & 0 deletions buildreq_cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
5.2
util-linux
7 changes: 5 additions & 2 deletions options.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[package]
name = pytest-runner
url = https://files.pythonhosted.org/packages/d9/6d/4b41a74b31720e25abd4799be72d54811da4b4d0233e38b75864dcc1f7ad/pytest-runner-5.1.tar.gz
url = https://files.pythonhosted.org/packages/5b/82/1462f86e6c3600f2471d5f552fcc31e39f17717023df4bab712b4a9db1b3/pytest-runner-5.2.tar.gz
archives =
giturl = https://github.com/pytest-dev/pytest-runner.git
domain =

[autospec]
# build 32 bit libraries
Expand All @@ -17,7 +18,7 @@ autoupdate = true
broken_c++ = false
# disable parallelization during build
broken_parallel_build = false
# this package is a library compatability package and only ships versioned library files
# this package is a library compatibility package and only ships versioned library files
compat = false
# set conservative build flags
conservative_flags = false
Expand All @@ -33,6 +34,8 @@ insecure_build = false
keepstatic = false
# do not require autostart subpackage
no_autostart = false
# do not generate debuginfo for this package
nodebug = false
# disable stripping binaries
nostrip = false
# optimize build for size over speed
Expand Down
21 changes: 12 additions & 9 deletions pytest-runner.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
# Generated by: autospec.py
#
Name : pytest-runner
Version : 5.1
Release : 45
URL : https://files.pythonhosted.org/packages/d9/6d/4b41a74b31720e25abd4799be72d54811da4b4d0233e38b75864dcc1f7ad/pytest-runner-5.1.tar.gz
Source0 : https://files.pythonhosted.org/packages/d9/6d/4b41a74b31720e25abd4799be72d54811da4b4d0233e38b75864dcc1f7ad/pytest-runner-5.1.tar.gz
Version : 5.2
Release : 46
URL : https://files.pythonhosted.org/packages/5b/82/1462f86e6c3600f2471d5f552fcc31e39f17717023df4bab712b4a9db1b3/pytest-runner-5.2.tar.gz
Source0 : https://files.pythonhosted.org/packages/5b/82/1462f86e6c3600f2471d5f552fcc31e39f17717023df4bab712b4a9db1b3/pytest-runner-5.2.tar.gz
Summary : Invoke py.test as distutils command with dependency resolution
Group : Development/Tools
License : MIT
Expand All @@ -19,6 +19,7 @@ BuildRequires : py-python
BuildRequires : pytest
BuildRequires : setuptools_scm
BuildRequires : tox
BuildRequires : util-linux
BuildRequires : virtualenv

%description
Expand Down Expand Up @@ -52,14 +53,16 @@ python3 components for the pytest-runner package.


%prep
%setup -q -n pytest-runner-5.1
%setup -q -n pytest-runner-5.2

%build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C
export SOURCE_DATE_EPOCH=1558645724
export LANG=C.UTF-8
export SOURCE_DATE_EPOCH=1572187824
# -Werror is for werrorists
export GCC_IGNORE_WERROR=1
export AR=gcc-ar
export RANLIB=gcc-ranlib
export NM=gcc-nm
Expand All @@ -74,7 +77,7 @@ python3 setup.py build
export MAKEFLAGS=%{?_smp_mflags}
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/pytest-runner
cp LICENSE %{buildroot}/usr/share/package-licenses/pytest-runner/LICENSE
cp %{_builddir}/pytest-runner-5.2/LICENSE %{buildroot}/usr/share/package-licenses/pytest-runner/a1474494d96f6ddb3a9a0d767a09871ffc388faf
python3 -tt setup.py build install --root=%{buildroot}
echo ----[ mark ]----
cat %{buildroot}/usr/lib/python3*/site-packages/*/requires.txt || :
Expand All @@ -85,7 +88,7 @@ echo ----[ mark ]----

%files license
%defattr(0644,root,root,0755)
/usr/share/package-licenses/pytest-runner/LICENSE
/usr/share/package-licenses/pytest-runner/a1474494d96f6ddb3a9a0d767a09871ffc388faf

%files python
%defattr(-,root,root,-)
Expand Down
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
45
46
2 changes: 1 addition & 1 deletion upstream
Original file line number Diff line number Diff line change
@@ -1 +1 @@
42487e5023a82152408017f88d5eaa71fab28d13/pytest-runner-5.1.tar.gz
3427663b575c5d885ea3869a1be09aca36517f74/pytest-runner-5.2.tar.gz
1 change: 1 addition & 0 deletions versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5.2
1 change: 1 addition & 0 deletions whatrequires
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ astroid
dask
idna-ssl
mccabe
mvn-arrow
numpy-stl
onnx
paho-mqtt
Expand Down

0 comments on commit 2ba7d68

Please sign in to comment.