Skip to content

Commit 6aafc36

Browse files
authored
Merge pull request #510 from Pylons/sync-main-with-2.0-branch
Forward port changes from 2.0-branch to main
2 parents eb899aa + dcd7263 commit 6aafc36

6 files changed

Lines changed: 24 additions & 7 deletions

File tree

.github/workflows/ci-tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ jobs:
5757
run: tox -e py -- ${{ matrix.pytest-args }}
5858
functional3:
5959
runs-on: ubuntu-latest
60+
name: Functional Python 3 web tests
6061
env:
6162
DISPLAY: ":99"
6263
services:
@@ -75,13 +76,13 @@ jobs:
7576
- name: Install requirements
7677
run: |
7778
sudo apt-get update
78-
pip install tox
7979
sudo apt-get install gettext
80+
pip install tox
8081
- name: Set URL environment variable
8182
run: |
8283
echo "URL=http://`hostname -i`:8523" >> $GITHUB_ENV
8384
echo "URL: "$URL
84-
- name: Run functional web tests
85+
- name: Run functional3 web tests
8586
run: |
8687
tox -e functional3
8788
coverage:

CHANGES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
.. _2.0.15:
99

10-
2.0.15 (unreleased)
10+
2.0.15 (2020-12-10)
1111
-------------------
1212

1313

README.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,23 @@ Deform
33

44
.. image:: https://github.com/Pylons/deform/workflows/Build%20and%20test/badge.svg?branch=main
55
:target: https://github.com/Pylons/deform/actions?query=workflow%3A%22Build+and+test%22+branch%3Amain
6+
:alt: Build Status
7+
8+
.. image:: https://img.shields.io/pypi/v/deform
9+
:target: https://pypi.org/project/deform/
10+
:alt: Current Release
611

712
.. image:: https://readthedocs.org/projects/deform/badge/?version=main
813
:target: https://docs.pylonsproject.org/projects/deform/en/main/
9-
:alt: Master Documentation Status
14+
:alt: Main Documentation Status
1015

1116
.. image:: https://readthedocs.org/projects/deform/badge/?version=latest
1217
:target: https://docs.pylonsproject.org/projects/deform/en/latest/
1318
:alt: Latest Documentation Status
1419

20+
.. image:: https://img.shields.io/pypi/pyversions/deform
21+
:alt: Python Support
22+
1523
.. contents:: :local:
1624

1725

run-selenium-tests.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export PATH="${PWD}:$PATH"
2828

2929
# Checkout deformdemo
3030
if [ ! -d deformdemo_functional_tests ] ; then
31-
git clone https://github.com/Pylons/deformdemo.git deformdemo_functional_tests
31+
git clone https://github.com/pylons/deformdemo.git deformdemo_functional_tests
3232
fi
3333

3434
# Locales are needed for deformdemo tests
@@ -40,6 +40,7 @@ pip install -e .
4040
# Let's go for the demo
4141
cd deformdemo_functional_tests
4242
pip install -e .
43+
pip freeze
4344

4445
# Run test server
4546
pserve demo.ini &

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,15 @@ def readfile(name):
103103
keywords="web forms form generation schema validation pyramid",
104104
author="Chris McDonough, Agendaless Consulting",
105105
author_email="pylons-discuss@googlegroups.com",
106+
maintainer="Steve Piercy",
107+
maintainer_email="web@stevepiercy.com",
106108
url="https://docs.pylonsproject.org/projects/deform/en/latest/",
107109
project_urls={
108110
'Documentation': docs_url,
109-
'Changelog': '{}whatsnew-{}.html'.format(docs_url, branch_version),
111+
'Changelog': '{}changes.html'.format(docs_url),
110112
'Issue Tracker': 'https://github.com/Pylons/deform/issues',
111113
},
112-
license="BSD-derived (http://www.repoze.org/LICENSE.txt)",
114+
license="BSD-derived",
113115
packages=find_packages(),
114116
include_package_data=True,
115117
zip_safe=False,

tox.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ commands =
2121

2222
[testenv:lint]
2323
commands =
24+
python --version
25+
pip freeze
2426
flake8 deform setup.py
2527
isort --check-only --df deform setup.py
2628
black --check --diff deform setup.py
@@ -45,6 +47,8 @@ depends = py39-cover
4547
whitelist_externals = make
4648
commands =
4749
pip install deform[docs]
50+
python --version
51+
pip freeze
4852
make -C docs html epub BUILDDIR={envdir} "SPHINXOPTS=-W -E"
4953

5054
# Selenium tests are slow. Run them against only one interpreter.
@@ -53,6 +57,7 @@ commands =
5357
passenv = DISPLAY WEBDRIVER FIREFOX_PATH URL WAITTOSTART CONTAINERTZ
5458
commands =
5559
pip install deform[testing,functional]
60+
python --version
5661
pip freeze
5762
./run-selenium-tests.bash --max-runs=4 {posargs}
5863
deps =

0 commit comments

Comments
 (0)