keyrings.codeartifact 2.1.0__tar.gz → 2.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/.github/workflows/release.yml +41 -11
  2. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/PKG-INFO +1 -24
  3. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/keyrings.codeartifact.egg-info/PKG-INFO +1 -24
  4. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/pyproject.toml +1 -2
  5. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/.github/dependabot.yml +0 -0
  6. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/.gitignore +0 -0
  7. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/LICENSE +0 -0
  8. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/README.md +0 -0
  9. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/keyrings/__init__.py +0 -0
  10. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/keyrings/codeartifact.py +0 -0
  11. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/keyrings.codeartifact.egg-info/SOURCES.txt +0 -0
  12. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/keyrings.codeartifact.egg-info/dependency_links.txt +0 -0
  13. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/keyrings.codeartifact.egg-info/entry_points.txt +0 -0
  14. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/keyrings.codeartifact.egg-info/requires.txt +0 -0
  15. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/keyrings.codeartifact.egg-info/top_level.txt +0 -0
  16. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/requirements-dev.txt +0 -0
  17. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/requirements-test.txt +0 -0
  18. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/requirements.txt +0 -0
  19. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/setup.cfg +0 -0
  20. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/tests/__init__.py +0 -0
  21. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/tests/config/multiple_sections_no_default.cfg +0 -0
  22. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/tests/config/multiple_sections_with_default.cfg +0 -0
  23. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/tests/config/single_section.cfg +0 -0
  24. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/tests/test_backend.py +0 -0
  25. {keyrings_codeartifact-2.1.0 → keyrings_codeartifact-2.1.1}/tests/test_config.py +0 -0
@@ -1,12 +1,12 @@
1
1
  # .github/workflows/release.yml
2
2
 
3
- name: 📦 Release 'keyrings.codeartifact' package.
3
+ name: 🏗️ Build & release package.
4
4
 
5
5
  on: push
6
6
 
7
7
  jobs:
8
8
  build:
9
- name: 📦 Build package.
9
+ name: 📦 Build and test package.
10
10
  runs-on: ubuntu-latest
11
11
 
12
12
  steps:
@@ -32,14 +32,14 @@ jobs:
32
32
  python3 -m pip install --user build
33
33
  python3 -m build
34
34
 
35
- - name: 💾 Store the built package distributions.
35
+ - name: 💾 Store the built package artifacts.
36
36
  uses: actions/upload-artifact@v4
37
37
  with:
38
- name: python-package-distributions
38
+ name: python-package-artifacts
39
39
  path: dist/
40
40
 
41
41
  publish-to-testpypi:
42
- name: 🚀 Publish distributions to test PyPI index.
42
+ name: 🚀 Publish package to test PyPI index.
43
43
  runs-on: ubuntu-latest
44
44
 
45
45
  needs:
@@ -54,25 +54,26 @@ jobs:
54
54
  id-token: write
55
55
 
56
56
  steps:
57
- - name: 📥 Download the built package distributions.
57
+ - name: 📥 Download the built artifacts.
58
58
  uses: actions/download-artifact@v4
59
59
  with:
60
- name: python-package-distributions
60
+ name: python-package-artifacts
61
61
  path: dist/
62
62
 
63
- - name: 🚀 Publish distributions to TestPyPI.
63
+ - name: 🚀 Publish package to TestPyPI.
64
64
  uses: pypa/gh-action-pypi-publish@release/v1
65
65
  with:
66
66
  repository-url: https://test.pypi.org/legacy/
67
67
  skip-existing: true
68
68
 
69
69
  publish-to-pypi:
70
- name: 🚀 Publish distributions to main PyPI index.
70
+ name: 🚀 Publish package to main PyPI index.
71
71
  if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
72
72
  runs-on: ubuntu-latest
73
73
 
74
74
  needs:
75
75
  - build
76
+ - publish-to-testpypi
76
77
 
77
78
  environment:
78
79
  name: pypi
@@ -83,11 +84,40 @@ jobs:
83
84
  id-token: write
84
85
 
85
86
  steps:
86
- - name: 📥 Download the built package distributions.
87
+ - name: 📥 Download the built artifacts.
87
88
  uses: actions/download-artifact@v4
88
89
  with:
89
- name: python-package-distributions
90
+ name: python-package-artifacts
90
91
  path: dist/
91
92
 
92
93
  - name: 🚀 Publish package to main PyPI index.
93
94
  uses: pypa/gh-action-pypi-publish@release/v1
95
+
96
+ publish-github-release:
97
+ name: 🚀 Publish package to GitHub release.
98
+ if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
99
+ runs-on: ubuntu-latest
100
+
101
+ needs:
102
+ - build
103
+
104
+ permissions:
105
+ # IMPORTANT: mandatory for github release publishing
106
+ contents: write
107
+
108
+ steps:
109
+ - name: 📥 Download the built artifacts.
110
+ uses: actions/download-artifact@v4
111
+ with:
112
+ name: python-package-artifacts
113
+ path: dist/
114
+
115
+ - name: 🎁 Publish package to GitHub release.
116
+ env:
117
+ GITHUB_REPOSITORY: ${{ github.repository }}
118
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
119
+ TAG_NAME: ${{ github.ref_name }}
120
+ run: |
121
+ gh release create "${TAG_NAME}" --repo="${GITHUB_REPOSITORY}" \
122
+ --title="${TAG_NAME}" --generate-notes --verify-tag \
123
+ dist/*
@@ -1,37 +1,14 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: keyrings.codeartifact
3
- Version: 2.1.0
3
+ Version: 2.1.1
4
4
  Summary: Automatically retrieve credentials for AWS CodeArtifact.
5
5
  Author-email: "Joshua M. Keyes" <joshua.michael.keyes@gmail.com>
6
- License: MIT License
7
-
8
- Copyright (c) 2022 Joshua M. Keyes <joshua.michael.keyes@gmail.com>
9
-
10
- Permission is hereby granted, free of charge, to any person obtaining a copy
11
- of this software and associated documentation files (the "Software"), to deal
12
- in the Software without restriction, including without limitation the rights
13
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
- copies of the Software, and to permit persons to whom the Software is
15
- furnished to do so, subject to the following conditions:
16
-
17
- The above copyright notice and this permission notice shall be included in all
18
- copies or substantial portions of the Software.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
- SOFTWARE.
27
-
28
6
  Project-URL: Homepage, https://github.com/jmkeyes/keyrings.codeartifact
29
7
  Project-URL: Issues, https://github.com/jmkeyes/keyrings.codeartifact/issues
30
8
  Project-URL: Repository, https://github.com/jmkeyes/keyrings.codeartifact.git
31
9
  Keywords: aws,codeartifact,keyring
32
10
  Classifier: Development Status :: 4 - Beta
33
11
  Classifier: Intended Audience :: Developers
34
- Classifier: License :: OSI Approved :: MIT License
35
12
  Classifier: Programming Language :: Python :: 3
36
13
  Classifier: Programming Language :: Python :: 3 :: Only
37
14
  Requires-Python: >=3.9
@@ -1,37 +1,14 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: keyrings.codeartifact
3
- Version: 2.1.0
3
+ Version: 2.1.1
4
4
  Summary: Automatically retrieve credentials for AWS CodeArtifact.
5
5
  Author-email: "Joshua M. Keyes" <joshua.michael.keyes@gmail.com>
6
- License: MIT License
7
-
8
- Copyright (c) 2022 Joshua M. Keyes <joshua.michael.keyes@gmail.com>
9
-
10
- Permission is hereby granted, free of charge, to any person obtaining a copy
11
- of this software and associated documentation files (the "Software"), to deal
12
- in the Software without restriction, including without limitation the rights
13
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
- copies of the Software, and to permit persons to whom the Software is
15
- furnished to do so, subject to the following conditions:
16
-
17
- The above copyright notice and this permission notice shall be included in all
18
- copies or substantial portions of the Software.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
- SOFTWARE.
27
-
28
6
  Project-URL: Homepage, https://github.com/jmkeyes/keyrings.codeartifact
29
7
  Project-URL: Issues, https://github.com/jmkeyes/keyrings.codeartifact/issues
30
8
  Project-URL: Repository, https://github.com/jmkeyes/keyrings.codeartifact.git
31
9
  Keywords: aws,codeartifact,keyring
32
10
  Classifier: Development Status :: 4 - Beta
33
11
  Classifier: Intended Audience :: Developers
34
- Classifier: License :: OSI Approved :: MIT License
35
12
  Classifier: Programming Language :: Python :: 3
36
13
  Classifier: Programming Language :: Python :: 3 :: Only
37
14
  Requires-Python: >=3.9
@@ -10,7 +10,7 @@ name = "keyrings.codeartifact"
10
10
  description = "Automatically retrieve credentials for AWS CodeArtifact."
11
11
  dynamic = ["version", "dependencies", "optional-dependencies"]
12
12
  keywords = ["aws", "codeartifact", "keyring"]
13
- license = { file = "LICENSE" }
13
+ license-files = [ "LICENSE" ]
14
14
  requires-python = ">= 3.9"
15
15
  readme = "README.md"
16
16
  authors = [
@@ -19,7 +19,6 @@ authors = [
19
19
  classifiers = [
20
20
  "Development Status :: 4 - Beta",
21
21
  "Intended Audience :: Developers",
22
- "License :: OSI Approved :: MIT License",
23
22
  "Programming Language :: Python :: 3",
24
23
  "Programming Language :: Python :: 3 :: Only",
25
24
  ]