Skip to content

Commit ab55cd8

Browse files
authored
Merge pull request #182 from adobe/himl_0.16.4
Fix Python dependencies in docker image
2 parents f8e745d + f9028e0 commit ab55cd8

File tree

7 files changed

+12
-10
lines changed

7 files changed

+12
-10
lines changed

.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.16.3
2+
current_version = 0.16.4
33
commit = True
44
tag = True
55
tag_name = {new_version}

.github/workflows/publish-to-pypi.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@master
11+
with:
12+
ref: main
1113

12-
- name: Set up Python 3.10
14+
- name: Set up Python 3.13
1315
uses: actions/setup-python@v5
1416
with:
15-
python-version: '3.10'
17+
python-version: '3.13'
1618

1719
- name: Install dependencies
1820
run: |
@@ -25,7 +27,7 @@ jobs:
2527
2628
- name: Build a binary wheel and a source tarball
2729
run: |
28-
pip install wheel
30+
pip install wheel setuptools
2931
python setup.py sdist bdist_wheel
3032
3133
- name: Publish distribution to PyPI

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ ADD . /config-merger/
66

77
RUN apt-get update && apt-get install -y make curl
88

9-
RUN python -m pip install --upgrade pip && pip3 install .
9+
RUN python -m pip install --upgrade pip && pip3 install -r requirements.txt && pip3 install .
1010
RUN rm -rf /config-merger/*

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# himl
22
A hierarchical config using yaml in Python.
33

4-
Latest version is: 0.16.3
4+
Latest version is: 0.16.4
55

66
## Description
77

himl/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def get_parser(parser=None):
7676
parser.add_argument('--list-merge-strategy', dest='merge_list_strategy', type=ListMergeStrategy, choices=list(ListMergeStrategy),
7777
default='append',
7878
help='override default merge strategy for list')
79-
parser.add_argument('--version', action='version', version='%(prog)s v{version}'.format(version="0.16.3"),
79+
parser.add_argument('--version', action='version', version='%(prog)s v{version}'.format(version="0.16.4"),
8080
help='print himl version')
8181
return parser
8282

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
setuptools~=78.1.1

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,12 @@
1313
'pyyaml~=6.0.2',
1414
'pathlib2~=2.3.7',
1515
'boto3~=1.39.14',
16-
'hvac~=2.3.0',
17-
'setuptools~=44.0.0'
16+
'hvac~=2.3.0'
1817
]
1918

2019
setup(
2120
name='himl',
22-
version="0.16.3",
21+
version="0.16.4",
2322
description='A hierarchical config using yaml',
2423
long_description=_readme + '\n\n',
2524
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)