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
Andrew Rabert
b26998a912
Add msgpack to extras_requires
2018-11-28 11:04:10 -05:00
Andrew Rabert
908f530b7b
Drop PyPy and Python < 3.5
2018-11-28 11:01:44 -05:00
Andrew Rabert
afddbd3800
Fix doc date
2018-08-07 15:55:01 -04:00
Andrew Rabert
4f187f80c1
Release version 2.2.2
2018-08-07 15:52:59 -04:00
Andrew Rabert
ee69a7f0ca
Support Tornado < 6
2018-08-07 15:51:42 -04:00
Andrew Rabert
7043250a1c
Add support for Python 3.5 through 3.7
2018-08-07 15:51:29 -04:00
Dave Shawley
5b74e20542
Metadata updates for 2.2.1.
2018-04-12 07:13:42 -04:00
dave-shawley
597e88475e
Merge pull request #18 from nvllsvm/ietfparse_pin
...
Pin ietfparse < 1.5
2018-04-12 06:58:53 -04:00
Andrew Rabert
3a846d0da1
Pin ietfparse < 1.5
...
Breaking behavior was introduced in 1.5 which breaks this modules
handling of content types with suffixes.
https://github.com/sprockets/sprockets.mixins.media_type/issues/17
2018-03-09 13:41:12 -05:00
Andrew Rabert
c15f6d8eec
Merge pull request #15 from dave-shawley/release/2.2.0
...
Metadata bumps for 2.2.0.
2018-01-24 15:46:52 -05:00
Dave Shawley
a7a4481490
Update changelog.
...
We forgot the changelog in https://github.com/sprockets/sprockets.mixins.media_type/pull/16
2017-06-08 13:24:10 -04:00
dave-shawley
25e0e390f7
Merge pull request #16 from nvllsvm/master
...
Use ietfparse.headers.parse_accept
2017-06-08 13:22:46 -04:00
Andrew Rabert
d4caccde26
Use ietfparse.headers.parse_accept
...
Starting with ietfparse 1.3.0, parse_http_accept_header was marked as deprecated.
2017-06-08 13:18:21 -04:00
Dave Shawley
1d00459c2e
Metadata bumps for 2.2.0.
2017-06-07 06:45:26 -04:00
Gavin M. Roy
64be643e3a
Merge pull request #14 from sprockets/move-negotiation-into-settings
...
Add functions to install & retrieve ContentSettings from application
2016-04-29 10:58:56 -04:00
Dave Shawley
8bc2f685f6
More CSS refinement.
...
This commit fixes the weird wrapping that happens with long class and
function names. I was originally going to address this in a PR against
sphinx before I figured out the specific CSS that cleans things up.
2016-04-17 09:01:08 -04:00
Dave Shawley
263d23a37d
Cleanup documentation.
...
- Remove automatic hyphenation of table headings.
- Widen the document a little.
- Remove some of the padding around code snippets.
- Adjust the sidebar title again...
- Fix history links in the changelog.
2016-04-05 07:49:13 -04:00
Dave Shawley
18e134b6f2
Deprecate ContentSettings.from_application.
2016-04-05 07:47:41 -04:00
Dave Shawley
68fe438894
content: Add install and get_settings functions.
2016-04-05 07:46:57 -04:00
dave-shawley
e46ff55e0f
Merge pull request #13 from sprockets/release-2.1.0
...
Release 2.1.0
2016-03-16 09:24:16 -04:00
Dave Shawley
3e9ad72d63
Metadata bumps for 2.1.0
2016-03-16 09:19:43 -04:00
Dave Shawley
242a0590e6
Prevent meta-class error in top-level imports.
...
Extended the `ImportError` handling hack to correctly handle the
case where we cannot import submodules AND someone is extending
one of the exported classes. Previously ContentMixin and
ContentSettings were functions when ImportError was raised which
causes really confusing errors.
The correct solution here is to stop exporting stuff at the top-
level and require clients to import from modules but that is for
another day.
2016-03-16 09:19:04 -04:00
Gavin M. Roy
14f3533517
Merge pull request #12 from sprockets/add-vary
...
Set the Vary header.
2016-03-14 10:49:44 -04:00
Dave Shawley
a1cc214bbe
ContentMixin: Set the Vary header.
...
This lets any transparent caches that our responses will vary based on
the Accept header. Without this, caches will assume that a cached
response can be used even if the Accept header differs.
2016-03-13 09:34:32 -04:00
Gavin M. Roy
0c1c757b37
Merge pull request #11 from sprockets/remove-deprecation
...
Remove _mark_deprecated wrapper.
2016-02-29 14:39:09 -05:00