Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for v1.2.1 release #139

Closed
wants to merge 1 commit into from
Closed
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: 9 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@ jobs:
- python-version: '3.9'
- python-version: '3.10'
- python-version: '3.11'
- python-version: '3.12'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Run tests
shell: bash
run: |
python -m pip install -U pip setuptools
python -m pip install .
python -m pip install -r requirements.txt

Expand All @@ -62,24 +62,21 @@ jobs:
- test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Installing baseline packages
run: |
echo "Installing baseline pip packages"
python -m pip install --upgrade pip setuptools wheel
- uses: actions/checkout@v4

- name: Build package
run: python setup.py sdist bdist_wheel
run: |
python -m pip install build
python -m build

- name: Capture Wheel and SDist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: artifact
path: dist/*

- name: Publish
if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.event.release.tag_name, 'v')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ cryptography>=1.3
flask
pytest
pytest-cov
wheel
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = requests_ntlm
version = 1.2.0
version = 1.2.1
url = https://github.com/requests/requests-ntlm
author = Ben Toews
author_email = mastahyeti@gmail.com
Expand All @@ -19,6 +19,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
License :: OSI Approved :: ISC License (ISCL)

[options]
Expand Down