mooch.settings 0.0.1.dev3__tar.gz → 0.0.1.dev4__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 (24) hide show
  1. mooch_settings-0.0.1.dev4/.github/ISSUE_TEMPLATE/bug_report.md +32 -0
  2. mooch_settings-0.0.1.dev4/.github/workflows/publish.yml +47 -0
  3. {mooch_settings-0.0.1.dev3/src/mooch.settings.egg-info → mooch_settings-0.0.1.dev4}/PKG-INFO +1 -1
  4. {mooch_settings-0.0.1.dev3 → mooch_settings-0.0.1.dev4}/pyproject.toml +1 -1
  5. {mooch_settings-0.0.1.dev3 → mooch_settings-0.0.1.dev4/src/mooch.settings.egg-info}/PKG-INFO +1 -1
  6. {mooch_settings-0.0.1.dev3 → mooch_settings-0.0.1.dev4}/src/mooch.settings.egg-info/SOURCES.txt +2 -0
  7. {mooch_settings-0.0.1.dev3 → mooch_settings-0.0.1.dev4}/.github/workflows/run_tests.yml +0 -0
  8. {mooch_settings-0.0.1.dev3 → mooch_settings-0.0.1.dev4}/.gitignore +0 -0
  9. {mooch_settings-0.0.1.dev3 → mooch_settings-0.0.1.dev4}/LICENSE +0 -0
  10. {mooch_settings-0.0.1.dev3 → mooch_settings-0.0.1.dev4}/README.md +0 -0
  11. {mooch_settings-0.0.1.dev3 → mooch_settings-0.0.1.dev4}/settings.toml +0 -0
  12. {mooch_settings-0.0.1.dev3 → mooch_settings-0.0.1.dev4}/setup.cfg +0 -0
  13. {mooch_settings-0.0.1.dev3 → mooch_settings-0.0.1.dev4}/src/mooch/__init__.py +0 -0
  14. {mooch_settings-0.0.1.dev3 → mooch_settings-0.0.1.dev4}/src/mooch/settings/__init__.py +0 -0
  15. {mooch_settings-0.0.1.dev3 → mooch_settings-0.0.1.dev4}/src/mooch/settings/filehandler.py +0 -0
  16. {mooch_settings-0.0.1.dev3 → mooch_settings-0.0.1.dev4}/src/mooch/settings/settings.py +0 -0
  17. {mooch_settings-0.0.1.dev3 → mooch_settings-0.0.1.dev4}/src/mooch/settings/utils.py +0 -0
  18. {mooch_settings-0.0.1.dev3 → mooch_settings-0.0.1.dev4}/src/mooch.settings.egg-info/dependency_links.txt +0 -0
  19. {mooch_settings-0.0.1.dev3 → mooch_settings-0.0.1.dev4}/src/mooch.settings.egg-info/requires.txt +0 -0
  20. {mooch_settings-0.0.1.dev3 → mooch_settings-0.0.1.dev4}/src/mooch.settings.egg-info/top_level.txt +0 -0
  21. {mooch_settings-0.0.1.dev3 → mooch_settings-0.0.1.dev4}/tests/test_file.py +0 -0
  22. {mooch_settings-0.0.1.dev3 → mooch_settings-0.0.1.dev4}/tests/test_settings.py +0 -0
  23. {mooch_settings-0.0.1.dev3 → mooch_settings-0.0.1.dev4}/tests/test_utils.py +0 -0
  24. {mooch_settings-0.0.1.dev3 → mooch_settings-0.0.1.dev4}/uv.lock +0 -0
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: ''
5
+ labels: ''
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Describe the bug**
11
+ A clear and concise description of what the bug is.
12
+
13
+ **To Reproduce**
14
+ Steps to reproduce the behavior:
15
+ 1. Go to '...'
16
+ 2. Click on '....'
17
+ 3. Scroll down to '....'
18
+ 4. See error
19
+
20
+ **Expected behavior**
21
+ A clear and concise description of what you expected to happen.
22
+
23
+ **Screenshots**
24
+ If applicable, add screenshots to help explain your problem.
25
+
26
+ **Desktop (please complete the following information):**
27
+ - OS: [e.g. Windows]
28
+ - Python Version: [e.g. 3.13]
29
+ - Package Version: [e.g. 0.0.1]
30
+
31
+ **Additional context**
32
+ Add any other context about the problem here.
@@ -0,0 +1,47 @@
1
+ name: "Publish"
2
+
3
+ on:
4
+ release:
5
+ types: ["published"]
6
+
7
+ jobs:
8
+ run:
9
+ name: "Build and publish release"
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+
15
+ - name: Install uv
16
+ uses: astral-sh/setup-uv@v6
17
+ with:
18
+ enable-cache: true
19
+ cache-dependency-glob: uv.lock
20
+
21
+ - name: Extract version from pyproject.toml
22
+ id: get-version
23
+ run: |
24
+ FILE_VERSION=$(sed -nE 's/^version\s*=\s*"(.*)"/\1/p' pyproject.toml)
25
+ echo "file_version=$FILE_VERSION" >> "$GITHUB_OUTPUT"
26
+
27
+ - name: Verify release tag matches pyproject.toml version
28
+ run: |
29
+ TAG_VERSION="${GITHUB_REF#refs/tags/v}"
30
+ FILE_VERSION="${{ steps.get-version.outputs.file_version }}"
31
+
32
+ echo "Release tag version: $TAG_VERSION"
33
+ echo "pyproject.toml version: $FILE_VERSION"
34
+
35
+ if [ "$TAG_VERSION" != "$FILE_VERSION" ]; then
36
+ echo "❌ Version mismatch! Tag version is $TAG_VERSION but pyproject.toml has $FILE_VERSION"
37
+ exit 1
38
+ fi
39
+
40
+ - name: Set up Python
41
+ run: uv python install 3.12
42
+
43
+ - name: Build
44
+ run: uv build
45
+
46
+ - name: Publish
47
+ run: uv publish -t ${{ secrets.PYPI_TOKEN }}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mooch.settings
3
- Version: 0.0.1.dev3
3
+ Version: 0.0.1.dev4
4
4
  Summary: Python settings management package (mooch.settings). Uses a TOML file.
5
5
  Author-email: Nick Stuer <nickstuer@duck.com>
6
6
  Project-URL: Homepage, https://github.com/nickstuer/mooch.settings
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "mooch.settings"
3
- version = "0.0.1dev3"
3
+ version = "0.0.1dev4"
4
4
  authors = [
5
5
  { name="Nick Stuer", email="nickstuer@duck.com" },
6
6
  ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mooch.settings
3
- Version: 0.0.1.dev3
3
+ Version: 0.0.1.dev4
4
4
  Summary: Python settings management package (mooch.settings). Uses a TOML file.
5
5
  Author-email: Nick Stuer <nickstuer@duck.com>
6
6
  Project-URL: Homepage, https://github.com/nickstuer/mooch.settings
@@ -4,6 +4,8 @@ README.md
4
4
  pyproject.toml
5
5
  settings.toml
6
6
  uv.lock
7
+ .github/ISSUE_TEMPLATE/bug_report.md
8
+ .github/workflows/publish.yml
7
9
  .github/workflows/run_tests.yml
8
10
  src/mooch/__init__.py
9
11
  src/mooch.settings.egg-info/PKG-INFO