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
21 changes: 11 additions & 10 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,26 @@ on:
release:
types: [created]

permissions:
id-token: write
contents: read

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist
twine upload dist/*
pip install build
- name: Build package
run: python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
4 changes: 2 additions & 2 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
python-version: ['3.12', '3.13']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install httptools and dependencies
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def read(rel_path):
'[mitmproxy](https://mitmproxy.org/)')
setup(
name='http-tools',
version='6.0.0',
version='6.0.1',
description=description,
author='Ajin Abraham',
author_email='ajin25@gmail.com',
Expand All @@ -42,7 +42,7 @@ def read(rel_path):
long_description=read('README.md'),
long_description_content_type='text/markdown',
install_requires=[
'mitmproxy==12.1.2',
'markupsafe>=3.0.2',
'mitmproxy==12.2.1',
'markupsafe>=3.0.3',
],
)
2 changes: 0 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[tox]
envlist = py36, py37, py38
skipsdist = True

[testenv]
Expand All @@ -20,7 +19,6 @@ deps =
flake8-docstrings
flake8-eradicate
flake8-import-order
flake8-logging-format
flake8-quotes
flake8-self
pep8-naming
Expand Down
Loading