Skip to content

Commit 4d8d01c

Browse files
committed
Merge branch 'devel'
2 parents 09ecede + 4d5099a commit 4d8d01c

4 files changed

Lines changed: 16 additions & 14 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
### 3.0.2
1+
#### 3.0.3
2+
No longer relying on openpyxl's colors definition. Related to github issue #73
3+
4+
#### 3.0.2
25
Hotfix release - setting maximum versions for dependencies. Related to github issue #73
36

47
#### 3.0.1

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,5 @@ def find_version(*file_paths):
8383
# your project is installed. For an analysis of "install_requires" vs pip's
8484
# requirements files see:
8585
# https://packaging.python.org/en/latest/requirements.html
86-
install_requires=['openpyxl>=2.5,<3.0.3', 'colour>=0.1.5,<0.2', 'jsonschema', 'xlrd>=1.0.0,<1.3.0', 'pandas<1.1.0']
86+
install_requires=['openpyxl>=2.5,<3.0.5', 'colour>=0.1.5,<0.2', 'jsonschema', 'xlrd>=1.0.0,<1.3.0', 'pandas<1.2.0']
8787
)

styleframe/utils.py

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import re
2-
from openpyxl.styles import colors as op_colors
32

43
HEX_REGEX = re.compile(r'^([A-Fa-f0-9]{8}|[A-Fa-f0-9]{6})$')
54

@@ -40,16 +39,16 @@ def decimal_with_num_of_digits(num_of_digits):
4039

4140

4241
class colors(BaseDefClass):
43-
white = op_colors.WHITE
44-
blue = op_colors.BLUE
45-
dark_blue = op_colors.DARKBLUE
46-
yellow = op_colors.YELLOW
47-
dark_yellow = op_colors.DARKYELLOW
48-
green = op_colors.GREEN
49-
dark_green = op_colors.DARKGREEN
50-
black = op_colors.BLACK
51-
red = op_colors.RED
52-
dark_red = op_colors.DARKRED
42+
white = '00FFFFFF'
43+
blue = '000000FF'
44+
dark_blue = '00000080'
45+
yellow = '00FFFF00'
46+
dark_yellow = '00808000'
47+
green = '0000FF00'
48+
dark_green = '00008000'
49+
black = '00000000'
50+
red = '00FF0000'
51+
dark_red = '00800000'
5352
purple = '800080'
5453
grey = 'D3D3D3'
5554

styleframe/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def get_all_versions():
1717
return _versions_
1818

1919

20-
_version_ = '3.0.2'
20+
_version_ = '3.0.3'
2121
_python_version_ = get_python_version()
2222
_pandas_version_ = get_pandas_version()
2323
_openpyxl_version_ = get_openpyxl_version()

0 commit comments

Comments
 (0)