Skip to content

moving to calendar versioning #453

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

Merged
merged 20 commits into from
Oct 20, 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
32 changes: 16 additions & 16 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
[bumpversion]
current_version = 0.14.4
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<release>[a-z]+)(?P<num>\d+))?
serialize =
{major}.{minor}.{patch}-{release}{num}
{major}.{minor}.{patch}
# [bumpversion]
# current_version = 0.14.4
# commit = False
# tag = False
# parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<release>[a-z]+)(?P<num>\d+))?
# serialize =
# {major}.{minor}.{patch}-{release}{num}
# {major}.{minor}.{patch}

[bumpversion:part:release]
optional_value = alpha
values =
alpha
beta
pre-release
# [bumpversion:part:release]
# optional_value = alpha
# values =
# alpha
# beta
# pre-release

[bumpversion:file:pyproject.toml]
# [bumpversion:file:pyproject.toml]

[bumpversion:file:dsg_lib/__init__.py]
# [bumpversion:file:dsg_lib/__init__.py]
13 changes: 9 additions & 4 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
max-parallel: 10
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.12","3.9", "3.10", "3.11"]
python-version: ["3.12","3.11", "3.10", "3.9"]
steps:
- uses: actions/checkout@v4
- name: Wait for PostgreSQL to become ready
Expand All @@ -39,10 +39,15 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Clear pip cache
run: pip cache purge

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt --use-deprecated=legacy-resolver
run: pip install --no-cache-dir -r requirements.txt
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install -r requirements.txt --use-deprecated=legacy-resolver
- name: Test with pytest
run: |
pip install pytest
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Support Python Versions

![Static Badge](https://img.shields.io/badge/Python-3.12%20%7C%203.11%20%7C%203.10%20%7C%203.9-blue)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![Coverage Status](./coverage-badge.svg?dummy=8484744)](./reports/coverage/index.html)
[![Tests Status](./tests-badge.svg?dummy=8484744)](./reports/coverage/index.html)

CI/CD Pipeline:

Expand Down
23 changes: 1 addition & 22 deletions coverage-badge.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading