Commit graph

187 commits

Author SHA1 Message Date
Dave Shawley
f6f84bdd2c 3.0.4: Reject invalid Content-Type headers. 2020-11-02 09:21:08 -05:00
Ryan Mclean
457dc178f3
Merge pull request #29 from dave-shawley/handle-bad-content-type
Handle Invalid Content-Type headers
2020-10-29 17:17:22 -04:00
Dave Shawley
21c6cb73fe Invalid content-type --> 400 Bad Request.
ietfparse raises a `ValueError` from `parse_content_type` which was
uncaught and resulted in an internal server error.
2020-10-29 13:50:33 -04:00
Dave Shawley
cd4edf3f98 Switch to 3.8 in travis. 2020-09-14 08:20:21 -04:00
Dave Shawley
86d14f962b Update to newest sphinx. 2020-09-14 08:20:06 -04:00
Dave Shawley
70c679c156 Run test suite with unittest runner. 2020-09-14 08:19:36 -04:00
Dave Shawley
5755792959 3.0.3: Preparing for Python 3.9. 2020-09-14 08:10:20 -04:00
dave-shawley
666624d2bf
Merge pull request #28 from nvllsvm/depre
Use non-deprecated collections.abc
2020-09-14 07:35:41 -04:00
Andrew Rabert
f7683262f8 Use non-deprecated collections.abc
See https://docs.python.org/3.9/whatsnew/3.9.html#you-should-check-for-deprecationwarning-in-your-code
2020-07-14 10:04:30 -04:00
Dave Shawley
3dadd00c64 Metadata bumps for 3.0.2. 2020-05-04 16:55:22 -04:00
dave-shawley
1d9ccad27c
Merge pull request #26 from sprockets/update-log-level
Change log level on decode failure log
2020-05-04 16:49:50 -04:00
amberheilman
0b54131f65
Change log level on decode failure log
Don't print tracebacks when failing to decode the body.
2020-05-04 16:46:51 -04:00
Andrew Rabert
e40449b632 Fix docs 2019-08-30 16:10:08 -04:00
dave-shawley
c034e04f67
Merge pull request #22 from gmr/tornado6
Support Tornado 6, remove setuptools_scm
2019-03-05 14:29:01 -05:00
Gavin M. Roy
03aeb58f8d Ignore flake8 errors since it has to pass now 2019-03-05 09:41:19 -05:00
Gavin M. Roy
cdd56e6e06 Forgot the link definition 2019-03-05 09:36:06 -05:00
Gavin M. Roy
7da331464b Support Tornado 6, remove setuptools_scm 2019-03-05 09:32:00 -05:00
Andrew Rabert
5079ed1b06 Fix typo 2018-12-04 23:52:54 -05:00
Andrew Rabert
1a300dea34 Rename to match package name 2018-12-04 23:24:06 -05:00
Andrew Rabert
875dc0beb5 Release version 3.0.0 2018-12-04 23:20:33 -05:00
Andrew Rabert
17c73b2309 Fix RTD (again) 2018-12-04 23:13:52 -05:00
Andrew Rabert
6387f4562a Fix RTD 2018-12-04 23:13:21 -05:00
Andrew Rabert
d604823173 Remove Python < 3.7 from travis 2018-12-04 23:09:32 -05:00
Andrew Rabert
4a52d18f41 Remove deprecated method 2018-12-04 23:08:31 -05:00
Andrew Rabert
c54501a7f4 Remove redundant web.url 2018-12-04 23:08:05 -05:00
Andrew Rabert
68257e41f0 Update .gitignore 2018-12-04 23:03:33 -05:00
Andrew Rabert
ace15dd0de Exclude from flake8 2018-12-04 23:02:05 -05:00
Andrew Rabert
bed9d3a1fd Drop support for Python < 3.7 2018-12-04 23:00:28 -05:00
Andrew Rabert
22e4ea6592 Fix virtualenv instruction 2018-12-04 22:57:20 -05:00
Andrew Rabert
73f512a0b6 Fix typos 2018-12-04 22:56:51 -05:00
Andrew Rabert
b275c95d39
Merge pull request #21 from nvllsvm/ietf
Support ietfparse 1.5.1
2018-12-04 16:59:45 -05:00
Andrew Rabert
5c7cebc6b7 Address flake8 concerns 2018-11-30 13:09:03 -05:00
Andrew Rabert
30c87225c0 Support ietfparse 1.5.1
ietfparse 1.5.1 broke sprockets.mixins.media_type as it introduced the
splitting of content suffix from content subtype. This commit fixes
that.
2018-11-30 11:58:43 -05:00
Andrew Rabert
723ed25edb Add test to ensure context suffix is handled with ietfparse<1.5.1 behavior 2018-11-30 11:58:39 -05:00
Andrew Rabert
30a7360ada Add RTD conf 2018-11-29 16:59:23 -05:00
Gavin M. Roy
daacd40488
Merge pull request #19 from nvllsvm/maintenance
Maintenance
2018-11-29 14:53:05 -05:00
Andrew Rabert
2fe2480dbf Fix docs 2018-11-28 18:22:39 -05:00
Andrew Rabert
3aca38d60a Update copyright 2018-11-28 16:26:43 -05:00
Andrew Rabert
1a40c2cef2 Ensure package is checked during CI 2018-11-28 13:18:19 -05:00
Andrew Rabert
1727bb3655 Use pathlib in setup.py for relative paths 2018-11-28 13:17:32 -05:00
Andrew Rabert
f9098b9af9 Update gitignore 2018-11-28 13:15:58 -05:00
Andrew Rabert
38275440c7 Fix tox 2018-11-28 13:15:58 -05:00
Andrew Rabert
0ddb305083 Drop support for Tornado<5
Matches sprockets.http
2018-11-28 13:15:58 -05:00
Andrew Rabert
92bde69779 Require flake8 compliance in CI 2018-11-28 13:15:58 -05:00
Andrew Rabert
00b87a43cf Use setuptools_scm
This allows us to remove the ImportError hack from __init__.py.
It also simplifies how the package is versioned - deriving it solely
from the repository tag.
Both version_info and __version__ have been removed with this change.
Given how these are a unofficial-standard at best, I've found it safer to
always use pkg_resources to determine the version when I need to.
2018-11-28 13:15:54 -05:00
Andrew Rabert
a28633aef5 Address flake8 complaints 2018-11-28 11:50:43 -05:00
Andrew Rabert
fd3f8b3008 Python 3 updates
- Simplify super()
- Remove object inheritance
- Simplify package namespacing
- Remove BinaryWrapper
- Remove python 2 code paths
2018-11-28 11:50:40 -05:00
Andrew Rabert
e9bbe21d3c Update requirements 2018-11-28 11:30:49 -05:00
Andrew Rabert
07ed4c8dc9 Ensure docs build successfully during CI 2018-11-28 11:29:35 -05:00
Andrew Rabert
b2e980d04d Update docs
- Update and isoldate doc dependencies
- Simplify sphinx config
- Treat warnings as errors
- Remove redundant self.finish() from examples
2018-11-28 11:28:18 -05:00