File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 release :
55 types : [created]
66
7+ permissions :
8+ id-token : write
9+ contents : read
10+
711jobs :
812 deploy :
913
1014 runs-on : ubuntu-latest
1115
1216 steps :
13- - uses : actions/checkout@v2
17+ - uses : actions/checkout@v4
1418 - name : Set up Python
15- uses : actions/setup-python@v2
19+ uses : actions/setup-python@v5
1620 with :
1721 python-version : ' 3.x'
1822 - name : Install dependencies
1923 run : |
2024 python -m pip install --upgrade pip
21- pip install setuptools wheel twine
22- - name : Build and publish
23- env :
24- TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
25- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
26- run : |
27- python setup.py sdist
28- twine upload dist/*
25+ pip install build
26+ - name : Build package
27+ run : python -m build
28+ - name : Publish package distributions to PyPI
29+ uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 1616 python-version : ['3.12', '3.13']
1717
1818 steps :
19- - uses : actions/checkout@v2
19+ - uses : actions/checkout@v4
2020 - name : Set up Python ${{ matrix.python-version }}
21- uses : actions/setup-python@v1
21+ uses : actions/setup-python@v5
2222 with :
2323 python-version : ${{ matrix.python-version }}
2424 - name : Install httptools and dependencies
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ def read(rel_path):
1717 '[mitmproxy](https://mitmproxy.org/)' )
1818setup (
1919 name = 'http-tools' ,
20- version = '6.0.0 ' ,
20+ version = '6.0.1 ' ,
2121 description = description ,
2222 author = 'Ajin Abraham' ,
2323 author_email = 'ajin25@gmail.com' ,
@@ -42,7 +42,7 @@ def read(rel_path):
4242 long_description = read ('README.md' ),
4343 long_description_content_type = 'text/markdown' ,
4444 install_requires = [
45- 'mitmproxy==12.1.2 ' ,
46- 'markupsafe>=3.0.2 ' ,
45+ 'mitmproxy==12.2.1 ' ,
46+ 'markupsafe>=3.0.3 ' ,
4747 ],
4848)
Original file line number Diff line number Diff line change 11[tox]
2- envlist = py36, py37, py38
32skipsdist = True
43
54[testenv]
2019 flake8-docstrings
2120 flake8-eradicate
2221 flake8-import-order
23- flake8-logging-format
2422 flake8-quotes
2523 flake8-self
2624 pep8-naming
You can’t perform that action at this time.
0 commit comments