Skip to content

v3.0.1 release #41

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 4 commits into from
Aug 23, 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
9 changes: 0 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: install python2 for ubuntu
run: sudo apt install python2
- name: get pip script for python2
run: curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
- name: install pip for python2
run: sudo python2 get-pip.py
- name: install requirements for python2
run: pip2 install -r requirements-2.txt
- name: install requirements for python3
run: pip3 install -r requirements-3.txt
- name: package and upload python3
Expand All @@ -24,6 +16,5 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
PYTHON_DATEMATH_VERSION: ${{ github.event.release.tag_name }}
run: |
python2.7 setup.py sdist bdist_wheel
python3 setup.py sdist bdist_wheel
twine upload dist/*
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [3.0.1] - 2024-08-23
### fixed
- Fix: Race condition in timezone tests: https://github.com/nickmaccarthy/python-datemath/issues/36
- Fix: Updated arrow version: https://github.com/nickmaccarthy/python-datemath/issues/32
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Date Math is the short hand arithmetic to find relative time to fixed moments in
>
> 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.

## Unit Maps
### Unit Maps

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

## Examples
### Examples

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

Expand Down
13 changes: 0 additions & 13 deletions requirements-2.txt

This file was deleted.

Loading