-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #124 from AzureAD/release-1.1.0
MSAL Extensions for Python, Release 1.1.0
- Loading branch information
Showing
10 changed files
with
63 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,8 +15,9 @@ jobs: | |
|
||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: [3.7, 3.8, 3.9, 2.7] | ||
python-version: [3.7, 3.8, 3.9, "3.10", 3.11, 3.12] | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
include: | ||
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#using-environment-variables-in-a-matrix | ||
|
@@ -26,15 +27,19 @@ jobs: | |
toxenv: "py38" | ||
- python-version: 3.9 | ||
toxenv: "py39" | ||
- python-version: 2.7 | ||
toxenv: "py27" | ||
- python-version: "3.10" | ||
toxenv: "py310" | ||
- python-version: 3.11 | ||
toxenv: "py311" | ||
- python-version: 3.12 | ||
toxenv: "py312" | ||
- python-version: 3.9 | ||
os: ubuntu-latest | ||
lint: "true" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install Linux dependencies for Python 2 | ||
|
@@ -81,26 +86,37 @@ jobs: | |
cd: | ||
needs: ci | ||
if: github.event_name == 'push' && (startsWith(github.ref, 'refs/tags') || github.ref == 'refs/heads/master') | ||
# Note: github.event.pull_request.draft == false WON'T WORK in "if" statement, | ||
# because the triggered event is a push, not a pull_request. | ||
# This means each commit will trigger a release on TestPyPI. | ||
# Those releases will only succeed when each push has a new version number: a1, a2, a3, etc. | ||
if: | | ||
github.event_name == 'push' && | ||
( | ||
startsWith(github.ref, 'refs/tags') || | ||
startsWith(github.ref, 'refs/heads/release-') | ||
) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.9 | ||
- name: Build a package for release | ||
run: | | ||
python -m pip install build --user | ||
python -m build --sdist --wheel --outdir dist/ . | ||
- name: Publish to TestPyPI | ||
- name: | | ||
Publish to TestPyPI when pushing to release-* branch. | ||
You better test with a1, a2, b1, b2 releases first. | ||
uses: pypa/[email protected] | ||
if: github.ref == 'refs/heads/master' | ||
if: startsWith(github.ref, 'refs/heads/release-') | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.TEST_PYPI_API_TOKEN }} | ||
repository_url: https://test.pypi.org/legacy/ | ||
- name: Publish to PyPI | ||
- name: Publish to PyPI when tagged | ||
if: startsWith(github.ref, 'refs/tags') | ||
uses: pypa/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,21 @@ | ||
# https://setuptools.readthedocs.io/en/latest/setuptools.html#configuring-setup-using-setup-cfg-files | ||
|
||
[bdist_wheel] | ||
universal=1 | ||
universal=0 | ||
|
||
[metadata] | ||
license = MIT | ||
license = MIT License | ||
project_urls = Changelog = https://github.com/AzureAD/microsoft-authentication-extensions-for-python/releases | ||
classifiers = | ||
License :: OSI Approved :: MIT License | ||
Development Status :: 5 - Production/Stable | ||
Programming Language :: Python :: 3 :: Only | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Programming Language :: Python :: 3.10 | ||
Programming Language :: Python :: 3.11 | ||
Programming Language :: Python :: 3.12 | ||
|
||
description = Microsoft Authentication Library extensions (MSAL EX) provides a persistence API that can save your data on disk, encrypted on Windows, macOS and Linux. Concurrent data access will be coordinated by a file lock mechanism. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters