Skip to content

Commit fefd904

Browse files
updated labelling to comply with PEP440 (#161)
1 parent fe3fe43 commit fefd904

File tree

6 files changed

+16
-11
lines changed

6 files changed

+16
-11
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
## Change History
44
All notable changes to the Databricks Labs Data Generator will be documented in this file.
55

6+
### Version Unreleased
7+
8+
#### Changed
9+
* Changed build labelling to comply with PEP440
10+
611
### Version 0.3.1
712

813
#### Changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ details of use and many examples.
6060

6161
Release notes and details of the latest changes for this specific release
6262
can be found in the Github repository
63-
[here](https://github.com/databrickslabs/dbldatagen/blob/release/v0.3.1/CHANGELOG.md)
63+
[here](https://github.com/databrickslabs/dbldatagen/blob/release/v0.3.2a0/CHANGELOG.md)
6464

6565
# Installation
6666

dbldatagen/_version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ def get_version(version):
2626
:param version: version string to parse for version information
2727
2828
Layout of version string must be compatible with `bump` package"""
29-
r = re.compile(r'(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)\-{0,1}(?P<release>\D*)(?P<build>\d*)')
29+
r = re.compile(r'(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+){0,1}(?P<release>\D*)(?P<build>\d*)')
3030
major, minor, patch, release, build = r.match(version).groups()
3131
version_info = VersionInfo(major, minor, patch, release, build)
3232
logging.info("Version : %s", version_info)
3333
return version_info
3434

3535

36-
__version__ = "0.3.1" # DO NOT EDIT THIS DIRECTLY! It is managed by bumpversion
36+
__version__ = "0.3.2a0" # DO NOT EDIT THIS DIRECTLY! It is managed by bumpversion
3737
__version_info__ = get_version(__version__)
3838

3939

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
author = 'Databricks Inc'
2929

3030
# The full version, including alpha/beta/rc tags
31-
release = "0.3.1" # DO NOT EDIT THIS DIRECTLY! It is managed by bumpversion
31+
release = "0.3.2a0" # DO NOT EDIT THIS DIRECTLY! It is managed by bumpversion
3232

3333

3434
# -- General configuration ---------------------------------------------------

python/.bumpversion.cfg

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
[bumpversion]
2-
current_version = 0.3.1
2+
current_version = 0.3.2a0
33
commit = False
44
tag = False
5-
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)\-{0,1}(?P<release>\D*)(?P<build>\d*)
5+
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+){0,1}(?P<release>\D*)(?P<build>\d*)
66
serialize =
7-
{major}.{minor}.{patch}-{release}{build}
7+
{major}.{minor}.{patch}{release}{build}
88
{major}.{minor}.{patch}
99

1010
[bumpversion:part:release]
1111
optional_value = ga
1212
values =
13-
dev
1413
a
1514
b
1615
rc
1716
ga
17+
post
1818

1919
[bumpversion:part:build]
2020

2121
[bumpversion:file:setup.py]
22-
parse = version = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)\-{0,1}(?P<release>\D*)(?P<build>\d*)
22+
parse = version = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+){0,1}(?P<release>\D*)(?P<build>\d*)
2323
serialize =
24-
{major}.{minor}.{patch}-{release}{build}
24+
{major}.{minor}.{patch}{release}{build}
2525
{major}.{minor}.{patch}
2626

2727
[bumpversion:file:dbldatagen/_version.py]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
setuptools.setup(
3333
name="dbldatagen",
34-
version="0.3.1",
34+
version="0.3.2a0",
3535
author="Ronan Stokes, Databricks",
3636
description="Databricks Labs - PySpark Synthetic Data Generator",
3737
long_description=long_description,

0 commit comments

Comments
 (0)