Skip to content

Commit

Permalink
Hopefully fixing manylinux publish. Updating pre-commit to latest.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdgriffith committed Feb 12, 2022
1 parent 95dd99a commit 28fa27a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine --upgrade
pip install twine --upgrade
- name: Build and publish
- name: Publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py bdist_wheel
twine upload dist/*-manylinux*.whl
9 changes: 5 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
rev: v4.1.0
hooks:
# Identify invalid files
- id: check-ast
Expand Down Expand Up @@ -29,7 +29,7 @@ repos:
exclude: ^test/data/.+

- repo: https://github.com/ambv/black
rev: 21.7b0
rev: 22.1.0
hooks:
- id: black
args: [--config=.black.toml]
Expand All @@ -51,7 +51,8 @@ repos:
always_run: true

- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v0.910'
rev: 'v0.931'
hooks:
- id: mypy
additional_dependencies: [ruamel.yaml,toml,msgpack]
types: [python]
additional_dependencies: [ruamel.yaml,toml,msgpack,types-PyYAML,types-toml]
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Version 6.0.0
* Changing #208 __repr__ to produce `eval`-able text (thanks to Jeff Robbins)
* Changing #215 support ruamel.yaml new syntax (thanks to Ivan Pepelnjak)
* Changing `update` and `merge_update` to not use a keyword that could cause issues in rare circumstances
* Fixing internal `_safe_key` logic to be twice as fast
* Changing internal `_safe_key` logic to be twice as fast
* Removing support for 3.6 as it is EOL
* Removing support for ruamel.yaml < 0.17

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__ = "6.0.0rc3"
__version__ = "6.0.0rc4"

from box.box import Box
from box.box_list import BoxList
Expand Down
2 changes: 1 addition & 1 deletion test/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def __init__(self):
[1, 2, 3],
{},
([], {}),
lambda x: x ** 2,
lambda x: x**2,
function_example,
ClassExample(),
) # type: ignore

0 comments on commit 28fa27a

Please sign in to comment.