Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
name: Manual PyPI Release

'on':
workflow_dispatch:
inputs:
version:
description: "Version tag (e.g. 1.0.0)"
required: true
# push:
# branches:
# - master

permissions:
id-token: write

jobs:
release:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Create tag
run: |
git tag ${{ github.event.inputs.version }}
git push origin ${{ github.event.inputs.version }}

- name: Install build dependencies
run: pip install build

- name: Build distribution
run: python -m build

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
httoop (0.2.0) unstable; urgency=medium

* Add support for Python 3.8 - 3.14, drop support for Python 2.7 - 3.7

-- Florian Best <space@wechall.net> Wed, 29 Apr 2026 03:13:50 +0200

httoop (0.1.1) unstable; urgency=medium

* various fixes regarding authentication, compression, etc.
Expand Down
1 change: 0 additions & 1 deletion debian/compat

This file was deleted.

19 changes: 2 additions & 17 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,11 @@ Priority: optional
Maintainer: Florian Best <space@wechall.net>
Standards-Version: 3.9.8
Build-Depends:
debhelper-compat (=13),
debhelper,
dh-python,
python-all,
python-debian,
pybuild-plugin-pyproject,
python3-all,
python3-debian,

Package: python-httoop
Architecture: all
Depends:
${misc:Depends},
${python:Depends},
Provides:
${python:Provides},
Recommends:
python-defusedxml,
python-uritemplate,
Description: HTTOOP - An object oriented HTTP library.
Httoop can be used to parse, compose and work with HTTP-Request- and Response-Messages.
It is an generic library for implementing HTTP servers, clients, caches and proxies.

Package: python3-httoop
Architecture: all
Expand Down
2 changes: 1 addition & 1 deletion debian/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Upstream-Name: Florian Best
Upstream-Contact: <space@wechall.net>

Files: *
Copyright: 2013-2020 Florian Best
Copyright: 2013-2026 Florian Best
License: MIT
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
2 changes: 1 addition & 1 deletion httoop/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from httoop.messages import Protocol


__version__ = '0.1.1'
__version__ = '0.2.0'
UserAgentHeader = __UserAgent.parse(b'httoop/%s' % (__version__.encode(),))
ServerHeader = __Server.parse(b'httoop/%s' % (__version__.encode(),))
ServerProtocol = Protocol((1, 1))
13 changes: 6 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=61"]
requires = ["setuptools>=70", "wheel"]
build-backend = "setuptools.build_meta"

[tool.setuptools.dynamic]
Expand All @@ -8,18 +8,17 @@ version = { attr = "httoop.version.__version__" }
[project]
name = "httoop"
dynamic = ["version"]
license = { text = "MIT" }
description = "object oriented HTTP protocol library"
readme = { file = "README.md", content-type = "text/markdown" }
authors = [
{ name = "SpaceOne", email = "space@wechall.net" }
]
license = { text = "MIT" }
keywords = ["HTTP", "web", "proxy", "cache", "client", "server", "library"]
classifiers = [
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: POSIX :: BSD",
"Operating System :: POSIX :: Linux",
Expand Down Expand Up @@ -55,13 +54,13 @@ test = [
[tool.pytest.ini_options]
addopts = "-s -l -vv --tb=native --strict-markers --cov=httoop --cov-report=xml --cov-report=term-missing"

[tool.setuptools.packages.find]
where = ["."]
exclude = ["tests", "tests.*"]

[tool.setuptools]
zip-safe = true

[tool.setuptools.packages.find]
include = ["httoop*"]
exclude = ["debian.*", "tests.*", "rfc.*"]

[project.urls]
Homepage = "https://github.com/spaceone/httoop"

Expand Down
Loading