Skip to content

Commit 250f92a

Browse files
Build fixes (#213)
* wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * updated build version * updated build version
1 parent 80ca02b commit 250f92a

File tree

12 files changed

+33
-23
lines changed

12 files changed

+33
-23
lines changed

.github/workflows/onrelease.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,18 @@ jobs:
1818
- name: Checkout
1919
uses: actions/checkout@v2
2020

21-
- name: Unshallow
22-
run: git fetch --prune --unshallow
23-
2421
- name: Set up Python 3.8
25-
uses: actions/setup-python@v3
22+
uses: actions/setup-python@v4
2623
with:
27-
python-version: '3.8'
24+
python-version: '3.8.12'
2825
cache: 'pipenv'
2926

27+
- name: Check Python version
28+
run: python --version
29+
30+
- name: Install pip
31+
run: python -m pip install --upgrade pip
32+
3033
- name: Install
3134
run: pip install pipenv
3235

.github/workflows/push.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@ on:
88

99
jobs:
1010
tests:
11-
# Ubuntu latest no longer installs Python 3.8 by default so install it
11+
# Ubuntu latest no longer installs Python 3.9 by default so install it
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v2
16-
17-
- name: Unshallow
18-
run: git fetch --prune --unshallow
15+
uses: actions/checkout@v3
16+
with:
17+
fetch-depth: 0
1918

2019
# - name: Cache packages
2120
# uses: actions/cache@v2
@@ -29,11 +28,17 @@ jobs:
2928
# ${{ runner.os }}-go-
3029

3130
- name: Set up Python 3.8
32-
uses: actions/setup-python@v3
31+
uses: actions/setup-python@v4
3332
with:
34-
python-version: '3.8'
33+
python-version: '3.8.12'
3534
cache: 'pipenv'
3635

36+
- name: Check Python version
37+
run: python --version
38+
39+
- name: Install pip
40+
run: python -m pip install --upgrade pip
41+
3742
- name: Install
3843
run: pip install pipenv
3944

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ All notable changes to the Databricks Labs Data Generator will be documented in
88
#### Changed
99
* Added formatting of generated code as Html for script methods
1010

11+
### Version 0.3.4 Post 3
12+
13+
### Changed
14+
* Build now uses Python 3.8.12. Updated build process to reflect that.
1115

1216
### Version 0.3.4 Post 2
1317

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ Dependent packages are not installed automatically by the `dbldatagen` package.
1919

2020
## Python compatibility
2121

22-
The code has been tested with Python 3.8.10 and later.
22+
The code has been tested with Python 3.8.12 and later.
2323

24-
Older releases were tested with Python 3.7.5 but as of this release, it requires the Databricks runtime 9.1 LTS or later
25-
which relies on Python 3.8.10
24+
Older releases were tested with Python 3.7.5 but as of this release, it requires the Databricks
25+
runtime 9.1 LTS or later.
2626

2727
## Checking your code for common issues
2828

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ pyparsing = "==2.4.7"
2828
jmespath = "==0.10.0"
2929

3030
[requires]
31-
python_version = ">=3.8.10"
31+
python_version = "3.8.12"

README.md

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

6464
Release notes and details of the latest changes for this specific release
6565
can be found in the GitHub repository
66-
[here](https://github.com/databrickslabs/dbldatagen/blob/release/v0.3.4post2/CHANGELOG.md)
66+
[here](https://github.com/databrickslabs/dbldatagen/blob/release/v0.3.4post3/CHANGELOG.md)
6767

6868
# Installation
6969

dbldatagen/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def get_version(version):
3434
return version_info
3535

3636

37-
__version__ = "0.3.4post2" # DO NOT EDIT THIS DIRECTLY! It is managed by bumpversion
37+
__version__ = "0.3.4post3" # DO NOT EDIT THIS DIRECTLY! It is managed by bumpversion
3838
__version_info__ = get_version(__version__)
3939

4040

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.4post2" # DO NOT EDIT THIS DIRECTLY! It is managed by bumpversion
31+
release = "0.3.4post3" # DO NOT EDIT THIS DIRECTLY! It is managed by bumpversion
3232

3333

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

python/.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.3.4post2
2+
current_version = 0.3.4post3
33
commit = False
44
tag = False
55
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+){0,1}(?P<release>\D*)(?P<build>\d*)

python/dev_require.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ pypandoc
3131
ipython==7.22.0
3232
recommonmark
3333
sphinx-markdown-builder
34-
rst2pdf==0.98
3534
Jinja2 < 3.1
3635
sphinx-copybutton
3736

0 commit comments

Comments
 (0)