From dc544498d09ff031f707e19e6777f6fcc92d8342 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sun, 10 Jan 2021 17:05:37 +0100 Subject: [PATCH 1/2] [mod] add target upload-pypi-test https://test.pypi.org/ Signed-off-by: Markus Heiser --- utils/makefile.python | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/makefile.python b/utils/makefile.python index 5d0837e00..345434384 100644 --- a/utils/makefile.python +++ b/utils/makefile.python @@ -243,8 +243,10 @@ pyenv-python: pyenvinstall # [2] https://github.com/pypa/pip/pull/1519 # https://github.com/pypa/twine -PHONY += upload-pypi +PHONY += upload-pypi upload-pypi-test upload-pypi: pyclean pyenvinstall pybuild @$(PY_ENV_BIN)/twine upload $(PYDIST)/* +upload-pypi-test: pyclean pyenvinstall pybuild + @$(PY_ENV_BIN)/twine upload -r testpypi $(PYDIST)/* .PHONY: $(PHONY) From b5ce8dfe34aa4538f5473cdbf55a23dc7c59fc30 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sun, 10 Jan 2021 17:13:22 +0100 Subject: [PATCH 2/2] [fix] requirements-dev.txt use linuxdoc==20210110 from pypi Fore good reasons (force push) PyPi does not accept a git commit as a requirement [1]. Today linuxdoc has been released on pypi, lets use it. With this patch issue [#2393] should be obsolete. [#2393] https://github.com/searx/searx/issues/2393 Signed-off-by: Markus Heiser --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 170f8c1d9..ed3c1c035 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -20,4 +20,4 @@ sphinx-tabs==1.1.13; python_version < '3.6' sphinxcontrib-programoutput==0.16 sphinx-autobuild==2020.9.1; python_version >= '3.6' sphinx-autobuild==0.7.1; python_version < '3.6' -linuxdoc @ git+http://github.com/return42/linuxdoc.git@70673dcf69e705e08d81f53794895dc15c4920b3#egg=linuxdoc +linuxdoc==20210110