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

Update CI and version and ignore black diff #141

Merged
merged 1 commit into from
Jun 7, 2024
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
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# .git-blame-ignore-revs
# Bulk black reformatting
986a8ad007d7621a464ddee681769fc186a4ed01
21 changes: 9 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,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 @@ -65,24 +65,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 @@ -8,4 +8,3 @@ mypy == 1.10.0
pytest
pytest-cov
types-requests
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.3.0
url = https://github.com/requests/requests-ntlm
author = Ben Toews
author_email = mastahyeti@gmail.com
Expand All @@ -18,6 +18,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