Skip to content

Commit 4de58e9

Browse files
Merge pull request #41 from nickmaccarthy/v3.0.1
v3.0.1 release
2 parents caab4c9 + 114fa05 commit 4de58e9

File tree

5 files changed

+3
-39
lines changed

5 files changed

+3
-39
lines changed

.github/workflows/release.yaml

-9
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,6 @@ jobs:
88
runs-on: ubuntu-20.04
99
steps:
1010
- uses: actions/checkout@v2
11-
- name: install python2 for ubuntu
12-
run: sudo apt install python2
13-
- name: get pip script for python2
14-
run: curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
15-
- name: install pip for python2
16-
run: sudo python2 get-pip.py
17-
- name: install requirements for python2
18-
run: pip2 install -r requirements-2.txt
1911
- name: install requirements for python3
2012
run: pip3 install -r requirements-3.txt
2113
- name: package and upload python3
@@ -24,6 +16,5 @@ jobs:
2416
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
2517
PYTHON_DATEMATH_VERSION: ${{ github.event.release.tag_name }}
2618
run: |
27-
python2.7 setup.py sdist bdist_wheel
2819
python3 setup.py sdist bdist_wheel
2920
twine upload dist/*

.travis.yml

-14
This file was deleted.

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
8+
## [3.0.1] - 2024-08-23
99
### fixed
1010
- Fix: Race condition in timezone tests: https://github.com/nickmaccarthy/python-datemath/issues/36
1111
- Fix: Updated arrow version: https://github.com/nickmaccarthy/python-datemath/issues/32

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Date Math is the short hand arithmetic to find relative time to fixed moments in
2020
>
2121
> Note, when doing range type searches, and the upper value is inclusive, the rounding will properly be rounded to the ceiling instead of flooring it.
2222
23-
## Unit Maps
23+
### Unit Maps
2424

2525
The "unit maps" here define the shorthand sytax for the dates/timeframes we are working with:
2626
```yaml
@@ -34,7 +34,7 @@ s or S = 'second'
3434
now = <current_time_and_date>
3535
```
3636

37-
## Examples
37+
### Examples
3838

3939
Here are some examples of using date math to find dates both in the past and in the future
4040

requirements-2.txt

-13
This file was deleted.

0 commit comments

Comments
 (0)