Skip to content

Commit

Permalink
Try to fix publish CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cdgriffith committed Feb 1, 2023
1 parent 5bac612 commit 3942be1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
python-version: '3.10'

- name: Install dependencies
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install poetry --upgrade
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Poetry Install 2
run: poetry install --with dev

- name: Build and publish
- name: Build and Publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
Expand All @@ -55,16 +55,18 @@ jobs:
with:
python-version: "3.11"

- name: Install Dependencies
run: |
python -m pip install --upgrade pip
python -m pip install cibuildwheel twine --upgrade
- name: Build Wheels
env:
CIBW_SKIP: "cp36-* pp* *manylinux_i686"
CIBW_BUILD_VERBOSITY: 1
CIBW_TEST_REQUIRES: "pytest msgpack ruamel.yaml tomli tomli-w"
CIBW_TEST_COMMAND: "pytest {package}/test"
run: |
python -m pip install --upgrade pip
python -m pip install cibuildwheel --upgrade
python -m cibuildwheel --output-dir wheels
run: python -m cibuildwheel --output-dir wheels

- name: Publish Wheels
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
path: ~/.cache/pip
key: lint-and-mypy-${{ hashFiles('pyproject.toml') }}

- name: Install dependencies
- name: Install Dependencies
run: |
python -m pip install poetry --upgrade
poetry config virtualenvs.create false --local
Expand All @@ -78,7 +78,7 @@ jobs:
- name: Run mypy
run: python -m mypy box

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

- name: Install dependencies
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install poetry --upgrade
Expand Down
2 changes: 1 addition & 1 deletion box/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

__author__ = "Chris Griffith"
__version__ = "7.0.0rc2"
__version__ = "7.0.0rc3"

from box.box import Box
from box.box_list import BoxList
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ exclude = '''

[tool.poetry]
name = "python-box"
version = "7.0.0rc2"
version = "7.0.0rc3"
description = "Advanced Python dictionaries with dot notation access"
license = "MIT"
authors = ["Chris Griffith <[email protected]>", ]
Expand Down

0 comments on commit 3942be1

Please sign in to comment.