Package: src:dateparser Version: 0.7.2-1 Severity: serious Justification: Policy 2.2.1
This package uses python pip to download and install packages from outside the Debian archive to run autopkgtests. Main is required to be self-contained, including for tests. See the FTP Master's reject FAQ [1] item Non-Main II. An excerpt from a recent autpkgtest log is included below to demonstrate the issue with this package. Scott K [1] https://ftp-master.debian.org/REJECT-FAQ.html autopkgtest [11:23:23]: test command1: pip3 install -U -rrequirements.txt -rtests/requirements.txt ; nosetests3 tests autopkgtest [11:23:23]: test command1: [----------------------- Collecting convertdate==2.1.3 (from -r requirements.txt (line 1)) Downloading https://files.pythonhosted.org/packages/74/83/d0fa07078f4d4ae473a89d7d521aafc66d82641ea0af0ef04a47052e8f17/convertdate-2.1.3-py2.py3-none-any.whl Collecting jdatetime==3.1.0 (from -r requirements.txt (line 2)) Downloading https://files.pythonhosted.org/packages/c6/9d/1391454b7afdf8d35b85a7658598ad2e363b74b723cdf75431e040f1c010/jdatetime-3.1.0.tar.gz Collecting python-dateutil==2.7.5 (from -r requirements.txt (line 3)) Downloading https://files.pythonhosted.org/packages/74/68/d87d9b36af36f44254a8d512cbfc48369103a3b9e474be9bdfe536abfc45/python_dateutil-2.7.5-py2.py3-none-any.whl (225kB) Collecting pytz==2018.9 (from -r requirements.txt (line 4)) Downloading https://files.pythonhosted.org/packages/61/28/1d3920e4d1d50b19bc5d24398a7cd85cc7b9a75a490570d5a30c57622d34/pytz-2018.9-py2.py3-none-any.whl (510kB) Collecting regex==2019.01.24 (from -r requirements.txt (line 5)) Downloading https://files.pythonhosted.org/packages/aa/eb/8a56aaf3a0a2a70cf2e017a8fb1ac5b6bad64a143d3096b0c0282b17ead1/regex-2019.01.24.tar.gz (647kB) Collecting tzlocal==1.5.1 (from -r requirements.txt (line 6)) Downloading https://files.pythonhosted.org/packages/cb/89/e3687d3ed99bc882793f82634e9824e62499fdfdc4b1ae39e211c5b05017/tzlocal-1.5.1.tar.gz Collecting umalqurra==0.2 (from -r requirements.txt (line 7)) Downloading https://files.pythonhosted.org/packages/59/d7/d57cfbf2ef0fd5f79c94bb4cc1fdb9af49eba592556e4e6891e2d5522fba/umalqurra-0.2.tar.gz Collecting mock (from -r tests/requirements.txt (line 1)) Downloading https://files.pythonhosted.org/packages/30/6a/9bde648117ec7087c89a45de0a8b25aba21d54d3defd08cb24eacded875f/mock-4.0.1-py3-none-any.whl Requirement already up-to-date: nose in /usr/lib/python3/dist-packages (from -r tests/requirements.txt (line 2)) (1.3.7) Collecting parameterized (from -r tests/requirements.txt (line 3)) Downloading https://files.pythonhosted.org/packages/a3/bf/6ef8239028beae8298e0806b4f79c2466b1b16ca5b85dc13d631c5ea92c4/parameterized-0.7.1-py2.py3-none-any.whl Requirement already up-to-date: six in /usr/lib/python3/dist-packages (from -r tests/requirements.txt (line 4)) (1.14.0) Collecting coverage (from -r tests/requirements.txt (line 5)) Downloading https://files.pythonhosted.org/packages/9a/08/7fa92679a903cac0e01a7fee2cadd92089d96a3002c34e8f2295b80d6b68/coverage-5.0.3-cp37-cp37m-manylinux1_x86_64.whl (227kB) Requirement already satisfied, skipping upgrade: ephem<3.8,>=3.7.5.3 in /usr/lib/python3/dist-packages (from convertdate==2.1.3->-r requirements.txt (line 1)) (3.7.7.0) Building wheels for collected packages: jdatetime, regex, tzlocal, umalqurra Running setup.py bdist_wheel for jdatetime: started Running setup.py bdist_wheel for jdatetime: finished with status 'done' Stored in directory: /home/debci/.cache/pip/wheels/94/3f/63/156126007a5089d65f62ee4e7576ec70200a037b094708322e Running setup.py bdist_wheel for regex: started Running setup.py bdist_wheel for regex: finished with status 'done' Stored in directory: /home/debci/.cache/pip/wheels/ff/8d/55/2ccfa47df2bc65ea83c605075f690c6338a2da89f82c171133 Running setup.py bdist_wheel for tzlocal: started Running setup.py bdist_wheel for tzlocal: finished with status 'done' Stored in directory: /home/debci/.cache/pip/wheels/15/ae/df/a67bf1ed84e9bf230187d36d8dcfd30072bea0236cb059ed91 Running setup.py bdist_wheel for umalqurra: started Running setup.py bdist_wheel for umalqurra: finished with status 'done' Stored in directory: /home/debci/.cache/pip/wheels/d3/e1/d7/d926e5fd2e0cdac728b59661b203670da0b3036f7f096c5324 Successfully built jdatetime regex tzlocal umalqurra Installing collected packages: pytz, convertdate, jdatetime, python-dateutil, regex, tzlocal, umalqurra, mock, parameterized, coverage The scripts coverage, coverage-3.7 and coverage3 are installed in '/home/debci/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Successfully installed convertdate-2.1.3 coverage-5.0.3 jdatetime-3.1.0 mock-4.0.1 parameterized-0.7.1 python-dateutil-2.7.5 pytz-2018.9 regex-2019.1.24 tzlocal-1.5.1 umalqurra-0.2