Codebase list python-hpack / fresh-snapshots/main
New upstream snapshot. Debian Janitor 1 year, 2 months ago
11 changed file(s) with 75 addition(s) and 51 deletion(s). Raw diff Collapse all Expand all
00 Release History
11 ===============
2
3 dev
4 ---
5
6 **API Changes (Backward Incompatible)**
7
8 -
9
10 **Bugfixes**
11
12 -
13
214
315 4.0.0 (2020-08-30)
416 ------------------
517
6 API Changes (Backward-Incompatible)
7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 **API Changes (Backward Incompatible)**
819
920 - Support for Python 2.7 has been removed.
1021 - Support for Python 3.4 has been removed.
0 graft src
0 graft src/hpack
11 graft docs
22 graft test
33 prune bench
66 exclude tasks.py
77 exclude test/test_fixtures/*/*.json
88 exclude test/test_hpack_integration.py
9 include README.rst LICENSE CHANGELOG.rst CONTRIBUTORS.rst tox.ini Makefile
9 include README.rst LICENSE CHANGELOG.rst CONTRIBUTORS.rst tox.ini
1010 global-exclude *.pyc *.pyo *.swo *.swp *.map *.yml *.DS_Store
+0
-11
Makefile less more
0 .PHONY: publish sample_output
1
2 publish:
3 rm -rf dist/
4 tox -e packaging
5 twine upload -s dist/*
6
7 sample_output:
8 rm -rf hpack-test-case/
9 git clone https://github.com/http2jp/hpack-test-case.git
10 tox -e create_test_output -- hpack-test-case
00 Metadata-Version: 2.1
11 Name: hpack
2 Version: 4.0.0
2 Version: 4.1.0+dev
33 Summary: Pure-Python HPACK header compression
44 Home-page: https://github.com/python-hyper/hpack
55 Author: Cory Benfield
2222 :target: https://gitter.im/python-hyper/community
2323 :alt: Chat community
2424
25 .. image:: https://raw.github.com/Lukasa/hyper/development/docs/source/images/hyper.png
25 .. image:: https://raw.github.com/python-hyper/documentation/master/source/logo/hyper-black-bg-white.png
2626
2727 This module contains a pure-Python HTTP/2 header encoding (HPACK) logic for use
2828 in Python programs that implement HTTP/2.
29
30 Documentation
31 =============
32
33 Documentation is available at https://hpack.readthedocs.io .
2934
3035 Contributing
3136 ============
6065 Classifier: Programming Language :: Python :: 3.6
6166 Classifier: Programming Language :: Python :: 3.7
6267 Classifier: Programming Language :: Python :: 3.8
68 Classifier: Programming Language :: Python :: 3.9
6369 Classifier: Programming Language :: Python :: Implementation :: CPython
6470 Classifier: Programming Language :: Python :: Implementation :: PyPy
6571 Requires-Python: >=3.6.1
1414 :target: https://gitter.im/python-hyper/community
1515 :alt: Chat community
1616
17 .. image:: https://raw.github.com/Lukasa/hyper/development/docs/source/images/hyper.png
17 .. image:: https://raw.github.com/python-hyper/documentation/master/source/logo/hyper-black-bg-white.png
1818
1919 This module contains a pure-Python HTTP/2 header encoding (HPACK) logic for use
2020 in Python programs that implement HTTP/2.
21
22 Documentation
23 =============
24
25 Documentation is available at https://hpack.readthedocs.io .
2126
2227 Contributing
2328 ============
0 python-hpack (4.0.0+git20210606.1.02afcab-1) UNRELEASED; urgency=low
1
2 * New upstream snapshot.
3
4 -- Debian Janitor <janitor@jelmer.uk> Wed, 08 Feb 2023 10:41:43 -0000
5
06 python-hpack (4.0.0-2) unstable; urgency=medium
17
28 * Clean test/conftest.py since it’s broken anyway.
0 #!/usr/bin/env python
1 # -*- coding: utf-8 -*-
2 import codecs
0 #!/usr/bin/env python3
1
32 import os
43 import re
5 import sys
64
75 from setuptools import setup, find_packages
86
119 with open(os.path.join(PROJECT_ROOT, 'README.rst')) as file_:
1210 long_description = file_.read()
1311
14 # Get the version
1512 version_regex = r'__version__ = ["\']([^"\']*)["\']'
1613 with open(os.path.join(PROJECT_ROOT, 'src/hpack/__init__.py')) as file_:
1714 text = file_.read()
1815 match = re.search(version_regex, text)
19
2016 if match:
2117 version = match.group(1)
2218 else:
2319 raise RuntimeError("No version number found!")
24
25 # Stealing this from Kenneth Reitz
26 if sys.argv[-1] == 'publish':
27 os.system('python setup.py sdist upload')
28 sys.exit()
2920
3021 setup(
3122 name='hpack',
3728 author_email='cory@lukasa.co.uk',
3829 url='https://github.com/python-hyper/hpack',
3930 packages=find_packages(where="src"),
40 package_data={'': ['LICENSE', 'README.rst', 'CHANGELOG.rst']},
31 package_data={'hpack': []},
4132 package_dir={'': 'src'},
4233 python_requires='>=3.6.1',
43 include_package_data=True,
4434 license='MIT License',
4535 classifiers=[
4636 'Development Status :: 5 - Production/Stable',
5141 'Programming Language :: Python :: 3.6',
5242 'Programming Language :: Python :: 3.7',
5343 'Programming Language :: Python :: 3.8',
44 'Programming Language :: Python :: 3.9',
5445 'Programming Language :: Python :: Implementation :: CPython',
5546 'Programming Language :: Python :: Implementation :: PyPy',
5647 ],
2626 'InvalidTableSizeError',
2727 ]
2828
29 __version__ = '4.0.0'
29 __version__ = '4.1.0+dev'
00 Metadata-Version: 2.1
11 Name: hpack
2 Version: 4.0.0
2 Version: 4.1.0+dev
33 Summary: Pure-Python HPACK header compression
44 Home-page: https://github.com/python-hyper/hpack
55 Author: Cory Benfield
2222 :target: https://gitter.im/python-hyper/community
2323 :alt: Chat community
2424
25 .. image:: https://raw.github.com/Lukasa/hyper/development/docs/source/images/hyper.png
25 .. image:: https://raw.github.com/python-hyper/documentation/master/source/logo/hyper-black-bg-white.png
2626
2727 This module contains a pure-Python HTTP/2 header encoding (HPACK) logic for use
2828 in Python programs that implement HTTP/2.
29
30 Documentation
31 =============
32
33 Documentation is available at https://hpack.readthedocs.io .
2934
3035 Contributing
3136 ============
6065 Classifier: Programming Language :: Python :: 3.6
6166 Classifier: Programming Language :: Python :: 3.7
6267 Classifier: Programming Language :: Python :: 3.8
68 Classifier: Programming Language :: Python :: 3.9
6369 Classifier: Programming Language :: Python :: Implementation :: CPython
6470 Classifier: Programming Language :: Python :: Implementation :: PyPy
6571 Requires-Python: >=3.6.1
11 CONTRIBUTORS.rst
22 LICENSE
33 MANIFEST.in
4 Makefile
54 README.rst
65 setup.cfg
76 setup.py
00 [tox]
1 envlist = py36, py37, py38, pypy3, lint, docs, packaging
1 envlist = py36, py37, py38, py39, pypy3, lint, docs, packaging
22
33 [gh-actions]
44 python =
55 3.6: py36
66 3.7: py37
7 3.8: py38, lint, docs, packaging
7 3.8: py38
8 3.9: py39, lint, docs, packaging
89 pypy3: pypy3
910
1011 [testenv]
1112 passenv =
1213 GITHUB_*
1314 deps =
14 pytest==6.0.1
15 pytest-cov==2.10.1
16 pytest-xdist==2.0.0
17 hypothesis>=5.5,<6
18 attrs==19.3.0
15 pytest>=6.0.1,<7
16 pytest-cov>=2.10.1,<3
17 pytest-xdist>=2.0.0,<3
18 hypothesis>=5.5,<7
1919 commands =
2020 pytest --cov-report=xml --cov-report=term --cov=hpack {posargs}
2121
2424 commands = pytest {posargs}
2525
2626 [testenv:lint]
27 basepython = python3.8
2827 deps =
29 flake8==3.8.3
30 commands = flake8 --max-complexity 10 src test utils
28 flake8>=3.9.1,<4
29 commands = flake8 src/ test/ utils/
3130
3231 [testenv:docs]
33 basepython = python3.8
3432 deps =
35 sphinx==3.2.1
33 sphinx>=4.0.2,<5
3634 whitelist_externals = make
3735 changedir = {toxinidir}/docs
3836 commands =
4038 make html
4139
4240 [testenv:packaging]
43 basepython = python3.8
41 basepython = python3.9
4442 deps =
45 check-manifest==0.42
46 readme-renderer==26.0
47 twine==3.2.0
43 check-manifest==0.46
44 readme-renderer==29.0
45 twine>=3.4.1,<4
46 whitelist_externals = rm
4847 commands =
48 rm -rf dist/
4949 check-manifest
5050 python setup.py sdist bdist_wheel
5151 twine check dist/*
52
53 [testenv:publish]
54 basepython = {[testenv:packaging]basepython}
55 deps =
56 {[testenv:packaging]deps}
57 whitelist_externals = {[testenv:packaging]whitelist_externals}
58 commands =
59 {[testenv:packaging]commands}
60 twine upload dist/*
5261
5362 [testenv:bench]
5463 deps =
5968
6069 [testenv:create_test_output]
6170 basepython = python3.7
71 ; rm -rf hpack-test-case/
72 ; git clone https://github.com/http2jp/hpack-test-case.git
6273 commands = python {toxinidir}/utils/create_test_output.py {posargs}