Skip to content

Commit 3942be1

Browse files
committed
Try to fix publish CI
1 parent 5bac612 commit 3942be1

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

.github/workflows/pythonpublish.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
with:
2121
python-version: '3.10'
2222

23-
- name: Install dependencies
23+
- name: Install Dependencies
2424
run: |
2525
python -m pip install --upgrade pip
2626
pip install poetry --upgrade
@@ -33,7 +33,7 @@ jobs:
3333
- name: Poetry Install 2
3434
run: poetry install --with dev
3535

36-
- name: Build and publish
36+
- name: Build and Publish
3737
env:
3838
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
3939
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
@@ -55,16 +55,18 @@ jobs:
5555
with:
5656
python-version: "3.11"
5757

58+
- name: Install Dependencies
59+
run: |
60+
python -m pip install --upgrade pip
61+
python -m pip install cibuildwheel twine --upgrade
62+
5863
- name: Build Wheels
5964
env:
6065
CIBW_SKIP: "cp36-* pp* *manylinux_i686"
6166
CIBW_BUILD_VERBOSITY: 1
6267
CIBW_TEST_REQUIRES: "pytest msgpack ruamel.yaml tomli tomli-w"
6368
CIBW_TEST_COMMAND: "pytest {package}/test"
64-
run: |
65-
python -m pip install --upgrade pip
66-
python -m pip install cibuildwheel --upgrade
67-
python -m cibuildwheel --output-dir wheels
69+
run: python -m cibuildwheel --output-dir wheels
6870

6971
- name: Publish Wheels
7072
env:

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
path: ~/.cache/pip
5757
key: lint-and-mypy-${{ hashFiles('pyproject.toml') }}
5858

59-
- name: Install dependencies
59+
- name: Install Dependencies
6060
run: |
6161
python -m pip install poetry --upgrade
6262
poetry config virtualenvs.create false --local
@@ -78,7 +78,7 @@ jobs:
7878
- name: Run mypy
7979
run: python -m mypy box
8080

81-
- name: Build Wheel and check distribution log description
81+
- name: Build Wheel and Check Distribution Log Description
8282
run: |
8383
poetry build
8484
python -m twine check dist/*
@@ -102,7 +102,7 @@ jobs:
102102
path: ~/.cache/pip
103103
key: test-${{ hashFiles('pyproject.toml') }}
104104

105-
- name: Install dependencies
105+
- name: Install Dependencies
106106
run: |
107107
python -m pip install --upgrade pip
108108
pip install poetry --upgrade

box/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# -*- coding: utf-8 -*-
33

44
__author__ = "Chris Griffith"
5-
__version__ = "7.0.0rc2"
5+
__version__ = "7.0.0rc3"
66

77
from box.box import Box
88
from box.box_list import BoxList

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ exclude = '''
1616

1717
[tool.poetry]
1818
name = "python-box"
19-
version = "7.0.0rc2"
19+
version = "7.0.0rc3"
2020
description = "Advanced Python dictionaries with dot notation access"
2121
license = "MIT"
2222
authors = ["Chris Griffith <[email protected]>", ]

0 commit comments

Comments
 (0)