Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
python-version: '3.14'

- name: Install Dependencies
run: |
Expand All @@ -39,7 +39,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
runs-on: ${{ matrix.os }}

steps:
Expand Down Expand Up @@ -75,8 +75,9 @@ jobs:
pip install cibuildwheel setuptools wheel
python -m cibuildwheel --output-dir dist
env:
CIBW_BUILD: cp39-manylinux_x86_64 cp310-manylinux_x86_64 cp311-manylinux_x86_64 cp312-manylinux_x86_64 cp313-manylinux_x86_64
CIBW_BUILD: cp310-manylinux_x86_64 cp311-manylinux_x86_64 cp312-manylinux_x86_64 cp313-manylinux_x86_64
CIBW_BEFORE_BUILD: pip install Cython>=3.0.11 setuptools wheel
CIBW_BUILD_FRONTEND: "build; args: --no-isolation"
CIBW_BEFORE_TEST: pip install -r requirements.txt -r requirements-test.txt setuptools wheel twine Cython>=3.0.11
CIBW_BUILD_VERBOSITY: 1
CIBW_TEST_COMMAND: pytest {package}/test -vv
Expand Down
18 changes: 7 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
package-checks:
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy-3.10"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "pypy-3.11"]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -31,14 +31,9 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-test.txt
pip install coveralls flake8 flake8-print mypy setuptools wheel twine Cython>=3.0.11
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors, undefined names or print statements
flake8 box --count --select=E9,F63,F7,F82,T001,T002,T003,T004 --show-source --statistics
# exit-zero treats all errors as warnings.
flake8 . --count --exit-zero --max-complexity=20 --max-line-length=120 --statistics --extend-ignore E203
pip install coveralls mypy setuptools wheel twine Cython>=3.0.11
- name: Run mypy
if: "!startsWith(matrix.python-version, 'pypy')"
run: mypy box
- name: Build Wheel and check distribution log description
run: |
Expand Down Expand Up @@ -83,8 +78,9 @@ jobs:
pip install cibuildwheel
python -m cibuildwheel --output-dir dist
env:
CIBW_BUILD: cp39-manylinux_x86_64 cp310-manylinux_x86_64 cp311-manylinux_x86_64 cp312-manylinux_x86_64 cp313-manylinux_x86_64
CIBW_BEFORE_BUILD: pip install Cython>=3.0.11 setuptools wheel
CIBW_BUILD: cp310-manylinux_x86_64 cp311-manylinux_x86_64 cp312-manylinux_x86_64 cp313-manylinux_x86_64
CIBW_BEFORE_BUILD: pip install Cython>=3.0.11 setuptools wheel
CIBW_BUILD_FRONTEND: "build; args: --no-isolation"
CIBW_BEFORE_TEST: pip install -r requirements.txt -r requirements-test.txt setuptools wheel twine Cython>=3.0.11
CIBW_BUILD_VERBOSITY: 1
CIBW_TEST_COMMAND: pytest {package}/test -vv
Expand All @@ -98,7 +94,7 @@ jobs:
test:
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down
3 changes: 2 additions & 1 deletion AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ Code contributions:
- YISH (mokeyish)
- Bit0r
- Jesper Schlegel (jesperschlegel)
- J vanBemmel (jbemmel)
- m-janicki


Suggestions and bug reporting:
Expand Down Expand Up @@ -82,7 +84,6 @@ Suggestions and bug reporting:
- Hitz (hitengajjar)
- David Aronchick (aronchick)
- Alexander Kapustin (dyens)
- Marcelo Huerta (richieadler)
- Tim Schwenke (trallnag)
- Marcos Dione (mdione-cloudian)
- Varun Madiath (vamega)
Expand Down
10 changes: 10 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
Changelog
=========

Version 7.4.0
-------------

* Adding #297 'box_dots_exclude' parameter to keep certain keys with dots from being broken down (thanks to J vanBemmel)
* Adding #301 support for TOON serialization format (thanks to richieadler)
* Adding support for YAML width
* Adding support for Python 3.14
* Fixing #291 adding frozen boxes (thanks to m-janicki)
* Removing support for Python 3.9 as it is EOL

Version 7.3.2
-------------

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017-2023 Chris Griffith
Copyright (c) 2017-2026 Chris Griffith

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 8 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@ include box/*.c
include box/*.so
include box/*.pyd
include box/*.pyi
include test/__init__.py
include test/common.py
include test/data/*.csv
include test/data/*.json
include test/data/*.msgpack
include test/data/*.tml
include test/data/*.txt
include test/data/*.yaml
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Also special shout-out to PythonBytes_, who featured Box on their podcast.
License
=======

MIT License, Copyright (c) 2017-2023 Chris Griffith. See LICENSE_ file.
MIT License, Copyright (c) 2017-2026 Chris Griffith. See LICENSE_ file.


.. |BoxImage| image:: https://raw.githubusercontent.com/cdgriffith/Box/master/box_logo.png
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.3.2"
__version__ = "7.3.3"

from box.box import Box
from box.box_list import BoxList
Expand Down
Loading