Skip to content

Commit 684b191

Browse files
Merge pull request #50 from nickmaccarthy/v3.0.2-RC
V3.0.2 RC
2 parents 659f30d + 2a30ab8 commit 684b191

File tree

10 files changed

+60
-136
lines changed

10 files changed

+60
-136
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
steps:
1010
- uses: actions/checkout@v2
1111
- name: install requirements for python3
12-
run: pip3 install -r requirements-3.txt
12+
run: pip3 install -r requirements.txt
1313
- name: package and upload python3
1414
env:
1515
TWINE_USERNAME: __token__

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: print python version
1515
run: python3 --version
1616
- name: install requirements
17-
run: pip3 install -r requirements-3.txt
17+
run: pip3 install -r requirements.txt
1818
- name: run the tests
1919
run: python3 tests.py
2020
- name: verify type hints

CHANGELOG.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ 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+
## [3.0.2] - 2024-08-27
9+
### added
10+
- Feat: Complete typing with strict type-checking [#43](https://github.com/nickmaccarthy/python-datemath/pull/43) Thank you @Avasam!
11+
12+
### fixed
13+
- Fix: removed legacy-tests.py since we no longer support python2.x
14+
- Fix: removed requirements-2.txt from manifest due to deprecation of python2 support
15+
- Fix: renamed requirements-3.txt to requirements.txt to support python3 going forward
16+
- also modifed to `release.yaml` and `tests.yaml` workflows to support this
17+
- Fix: long_description should now show up in pypi https://github.com/nickmaccarthy/python-datemath/issues/33
18+
819
## [3.0.1] - 2024-08-23
920
### fixed
1021
- Fix: Race condition in timezone tests: https://github.com/nickmaccarthy/python-datemath/issues/36
@@ -41,14 +52,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4152
### fixed
4253
- FIX: [Issue #21](https://github.com/nickmaccarthy/python-datemath/issues/21) - Fixed an issue where if timezone offset was in a datetime string (ISO8601), the timezone of the returned datemath object would be UTC and not the timezone as specified in the datetime string.
4354

44-
## 1.5.1 (2020-03-25)
55+
## [1.5.1] - 2020-03-25
4556

4657
### fixed
4758
- FIX: [Issue #15](https://github.com/nickmaccarthy/python-datemath/issues/15) - Fixed issue with parser finding invalid timeunits and throwing correct errors
4859
### added
4960
- Feat: [Issue #16](https://github.com/nickmaccarthy/python-datemath/issues/16) - Added support for parser to accecpt a epoch/unix timestamp but throw an error on epoch milli's since arrow can't support that.
5061

51-
## 1.5.0 - 2019-11-09
62+
## [1.5.0] - 2019-11-09
5263

5364
### fixed
5465
- [Issue #12](https://github.com/nickmaccarthy/python-datemath/issues/12) - missing VERSION.txt. Added MANIFEST.in for sdist build

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ include VERSION.txt
22
include README.md
33
include CHANGELOG.md
44
include LICENSE
5-
include requirements-2.txt
65
include requirements-3.txt

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.1
1+
3.0.2

requirements-3.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ typing_extensions==4.7.1
3030
tzdata==2024.1
3131
urllib3==1.26.19
3232
webencodings==0.5.1
33+

requirements.txt

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
appdirs==1.4.3
2+
args==0.1.0
3+
arrow==1.2.3
4+
bleach==3.3.0
5+
certifi==2024.7.4
6+
chardet==3.0.4
7+
clint==0.5.1
8+
docutils==0.15.2
9+
freezegun==1.2.2
10+
idna==3.7
11+
linecache2==1.0.0
12+
mypy==1.7.1
13+
packaging==16.8
14+
pkginfo==1.4.2
15+
Pygments==2.15.0
16+
pyparsing==2.2.0
17+
python-dateutil==2.8.2
18+
pytz==2023.3
19+
readme-renderer==24.0
20+
requests==2.32.2
21+
requests-toolbelt==0.9.1
22+
six==1.10.0
23+
tqdm==4.66.3
24+
traceback2==1.4.0
25+
twine==2.0.0
26+
types-python-dateutil==2.8.19.20240311
27+
types-setuptools==73.0.0.20240822
28+
types-pytz==2023.3.1.1
29+
typing_extensions==4.7.1
30+
tzdata==2024.1
31+
urllib3==1.26.19
32+
webencodings==0.5.1

setup.cfg

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
[metadata]
2-
description-file = ./README.md
2+
name = python-datemath
3+
description = "A python module to emulate the date math used in SOLR and Elasticsearch"
4+
long_description = file: README.md
5+
long_description_content_type = text/markdown
6+
author = Nick MacCarthy
7+
author_email = nickmaccarthy@gmail.com
8+
39

410
[bdist_wheel]
511
universal=1

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131

3232
description='A python module to emulate the date math used in SOLR and Elasticsearch',
3333

34+
long_description=long_description,
35+
long_description_content_type='text/markdown',
36+
3437
# The project's main homepage.
3538
url='https://github.com/nickmaccarthy/python-datemath',
3639

@@ -48,7 +51,7 @@
4851
# 3 - Alpha
4952
# 4 - Beta
5053
# 5 - Production/Stable
51-
'Development Status :: 4 - Beta',
54+
'Development Status :: 5 - Production/Stable',
5255

5356
# Indicate who your project is intended for
5457
'Intended Audience :: Developers',

tests-legacy.py

Lines changed: 0 additions & 128 deletions
This file was deleted.

0 commit comments

Comments
 (0)