Skip to content

Commit 180b234

Browse files
committed
Prep for 2.0.1 release to support Python 3.10
1 parent bc499ee commit 180b234

3 files changed

Lines changed: 21 additions & 12 deletions

File tree

‎.github/workflows/run-tests.yml‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Tests
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request: {}
48

59
jobs:
610
build:
@@ -9,7 +13,7 @@ jobs:
913
strategy:
1014
fail-fast: false
1115
matrix:
12-
python-version: [2.7, 3.6, 3.7, 3.8, 3.9, 3.10-dev]
16+
python-version: [2.7, 3.6, 3.7, 3.8, 3.9, 3.10.0]
1317
os: [ubuntu-18.04, macOS-latest, windows-latest]
1418
include:
1519
# pypy3 on Windows currently fails trying to

‎README.rst‎

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
FormEncode
22
==========
33

4-
.. image:: https://secure.travis-ci.org/formencode/formencode.png?branch=master
5-
:target: https://travis-ci.org/formencode/formencode
6-
:alt: Travis CI continuous integration status
4+
.. image:: https://github.com/formencode/formencode/actions/workflows/run-tests.yml/badge.svg
5+
:target: https://github.com/formencode/formencode/actions
6+
:alt: Test Status
77

88

99
Introduction
@@ -31,8 +31,4 @@ Use `tox` to run the test suite for all supported Python versions.
3131
Changes
3232
-------
3333

34-
Added a validator that can require one or more fields based on the value of another field.
35-
36-
A German howto can be found here: http://techblog.auf-nach-mallorca.info/2014/08/19/dynamische_formulare_validieren_mit_formencode/
37-
38-
Courtesy of the developers of http://www.auf-nach-mallorca.info
34+
See the `What's new section of the documentation <http://www.formencode.org/en/latest/#what-s-new>`_.

‎docs/whatsnew-2.0.txt‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,17 @@ This article explains the latest changes in `FormEncode` version 2.0.0
55
compared to its predecessor, `FormEncode` 1.3.0
66

77

8-
Changelog
9-
---------
8+
2.0.1
9+
-----
10+
- Add support for 3.10
11+
- use Pytest instead of Nose and Github Actions instead of Travis for tests
12+
- Documentation updates
13+
- Note this will be the last version to support Python 2.7. The next version
14+
will be 2.1 to signal this change. If you want to keep support for Python
15+
2.7 update your dependencies spec to be below 2.1
16+
17+
2.0.0
18+
-----
1019

1120
- `FormEncode` can now run on Python 3.6 and higher without needing to run 2to3 first.
1221
- `FormEncode` 2.0 is no longer compatible with Python 2.6 and 3.2 to 3.5.

0 commit comments

Comments
 (0)