Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove Paver utilities not needed #993

Merged
merged 2 commits into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ Coding Guidelines
- always code with `PEP 8`_ conventions
- always run source code through `flake8`_ and `pylint`_, using all pylint defaults except for ``C0111``. ``sbin/pycsw-pylint.sh`` is included for convenience
- for exceptions which make their way to OGC ``ExceptionReport`` XML, always specify the appropriate ``locator`` and ``code`` parameters
- the pycsw wiki documents `developer tasks`_ for things like releasing documentation, testing, etc.

Submitting a Pull Request
^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
6 changes: 0 additions & 6 deletions docs/locale/zh/LC_MESSAGES/contributing.po
Original file line number Diff line number Diff line change
Expand Up @@ -320,12 +320,6 @@ msgstr ""
"除了OGC ``ExceptionReport`` XML运行方式为个别例外,通常会指定合适的 ``定"
"位器`` 和 ``代码`` 参数"

#: ../../../CONTRIBUTING.rst:99
msgid ""
"the pycsw wiki documents `developer tasks`_ for things like releasing "
"documentation, testing, etc."
msgstr "pycsw wiki 文档的 `developer tasks`_ 类似于发布文档,测试等。"

#: ../../../CONTRIBUTING.rst:102
msgid "Submitting a Pull Request"
msgstr "提交pull请求"
Expand Down
18 changes: 2 additions & 16 deletions docs/locale/zh/LC_MESSAGES/testing.po
Original file line number Diff line number Diff line change
Expand Up @@ -543,12 +543,6 @@ msgstr "导航到 ``http://host/path/to/pycsw/tests/index.html`` 。"
#~ msgid "Running Locally"
#~ msgstr "本地运行"

#~ msgid ""
#~ "The tests framework can be run from ``tests`` using `Paver`_ (see ``pavement."
#~ "py``) tasks for convenience:"
#~ msgstr ""
#~ "为方便工作,测试框架可以用 `Paver`_ (见 ``pavement.py``) 在 ``tests`` 中运行:"

#~ msgid ""
#~ "The tests perform HTTP GET and POST requests against ``http://"
#~ "localhost:8000``. The expected output for each test can be found in "
Expand All @@ -566,12 +560,12 @@ msgstr "导航到 ``http://host/path/to/pycsw/tests/index.html`` 。"
#~ "If a given test has failed, the output is saved in ``results``. The "
#~ "resulting failure can be analyzed by running ``diff tests/expected/"
#~ "name_of_test.xml tests/results/name_of_test.xml`` to find variances. The "
#~ "Paver task returns a status code which indicates the number of tests which "
#~ "task returns a status code which indicates the number of tests which "
#~ "have failed (i.e. ``echo $?``)."
#~ msgstr ""
#~ "如果某个测试失败,输出将保存在``结果``中。 运行``diff tests/expected/"
#~ "name_of_test.xml tests/results/name_of_test.xml`` ,会自动统计失败结果以找到差"
#~ "异。Paver任务会返回一个状态代码,表示已失败的测试数目(即``echo $?``)。"
#~ "异。任务会返回一个状态代码,表示已失败的测试数目(即``echo $?``)。"

#~ msgid "Test Suites"
#~ msgstr "测试套件"
Expand Down Expand Up @@ -631,9 +625,6 @@ msgstr "导航到 ``http://host/path/to/pycsw/tests/index.html`` 。"
#~ "文件的名称内)。该 ``request`` 值是HTTP GET请求的值。该 ``PYCSW_SERVER`` 在"
#~ "URL pycsw安装运行时会被替换掉的。"

#~ msgid "run ``paver test``"
#~ msgstr "运行`paver test`"

#~ msgid "Ensure that all file paths are relative to ``path/to/pycsw``"
#~ msgstr "确保所有文件的路径都关联 ``path/to/pycsw`` "

Expand All @@ -646,11 +637,6 @@ msgstr "导航到 ``http://host/path/to/pycsw/tests/index.html`` 。"
#~ "个sqlite3数据库。该数据库*必须*被写为 ``records.db``,目录 ``tests/suites/foo/"
#~ "data`` 也必须存在"

#~ msgid ""
#~ "run ``paver test`` (or ``paver test -s foo`` to test only the new test suite)"
#~ msgstr ""
#~ "运行 ``paver test`` (或 ``paver test-s foo`` , 仅用来测试新的测试套件)"

#~ msgid ""
#~ "Pycsw uses `pytest`_ for managing its automated tests. There are a number of "
#~ "test suites that perform mostly functional testing. These tests ensure that "
Expand Down
4 changes: 2 additions & 2 deletions docs/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -311,15 +311,15 @@ requests against your pycsw install. The tests are is located in

.. code-block:: bash

$ paver gen_tests_html
python3 gen_html.py > index.html


Then navigate to ``http://host/path/to/pycsw/tests/index.html``.



.. _Compliance & Interoperability Testing & Evaluation Initiative: https://github.com/opengeospatial/cite/wiki
.. _functional tests: https://en.wikipedia.org/wiki/Functional_testing
.. _`Paver`: https://pythonhosted.org/Paver/
.. _pytest's invocation documentation: https://docs.pytest.org/en/stable/usage.html
.. _pytest: https://docs.pytest.org
.. _Github Actions: https://github.com/geopython/pycsw/actions
Expand Down
142 changes: 0 additions & 142 deletions pavement.py

This file was deleted.

1 change: 0 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
-r requirements-standalone.txt

apipkg==1.4
Paver==1.2.4
pytest==6.2.4
pytest-cov==2.12.0
pytest-flake8==1.0.7
Expand Down
Loading