Skip to content

Commit

Permalink
numpy requires Python version >= 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
mozman committed Apr 22, 2023
1 parent 788cad0 commit 31c86b7
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_manylinux2010_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
CIBW_ARCHS_LINUX: "x86_64"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2010
# cp310 is deployed for manylinux2014
CIBW_BUILD: cp37-* cp38-* cp39-*
CIBW_BUILD: cp38-* cp39-*
- name: Upload manylinux2010_x86_64 wheels to PyPI
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_manylinux2014_aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
CIBW_BEFORE_BUILD: "pip install wheel cython"
CIBW_ARCHS_LINUX: "aarch64"
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_BUILD: cp37-* cp38-* cp39-* cp310-* cp311-*
CIBW_BUILD: cp38-* cp39-* cp310-* cp311-*
- name: Upload manylinux2014_aarch64 wheels to PyPI
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_win_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
CIBW_ARCHS_WINDOWS: "AMD64"
CIBW_ARCHS_MACOS: "x86_64 arm64 universal2"
# Does not fail at unsupported Python versions!
CIBW_BUILD: cp37-* cp38-* cp39-* cp310-* cp311-*
CIBW_BUILD: cp38-* cp39-* cp310-* cp311-*
- name: Upload wheels
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testcext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.7']
python-version: ['3.8', '3.9', '3.10', '3.11', 'pypy-3.8']

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Version 1.0.4b1 - dev
---------------------

- Release notes: https://ezdxf.mozman.at/release-v1-0.html
- NEW: `numpy` is a hard dependency
- NEW: `numpy` is a hard dependency, requires Python version >= 3.8
- NEW: added setter to `BlockLayout.base_point` property
- NEW: optimized `Matrix44.fast_2d_transform()` method
- BUGFIX: invalid bulge to Bezier curve conversion for bulge values >= 1
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Quick-Info
existing DXF documents
- MIT-License
- the intended audience are programmers
- requires at least Python 3.7
- requires at least Python 3.8
- OS independent
- tested with CPython and pypy3
- has type annotations and passes `mypy --ignore-missing-imports -p ezdxf` successful
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Quick-Info
existing DXF documents
- MIT-License
- the intended audience are programmers
- requires at least Python 3.7
- requires at least Python 3.8
- OS independent
- tested with CPython and pypy3
- has type annotations and passes ``mypy --ignore-missing-imports -p ezdxf`` successful
Expand Down
6 changes: 3 additions & 3 deletions docs/source/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ Supported Python Versions
CPython version and the latest stable release of pypy3 during development.

`Ezdxf` is written in pure Python with optional Cython implementations of some
low level math classes and requires only `pyparser` and `typing_extensions` as
additional library beside the Python Standard Library.
low level math classes and requires only `pyparsing`, `numpy` and `typing_extensions`
as additional library beside the Python Standard Library.
`Pytest` is required to run the unit and integration tests. Data to run the
stress and audit test can not be provided, because I don't have the rights for
publishing these DXF files.
Expand All @@ -52,7 +52,7 @@ Supported Operating Systems
---------------------------

`Ezdxf` is OS independent and runs on all platforms which provide an appropriate
Python interpreter (>=3.7).
Python interpreter (>=3.8).

Supported DXF Versions
----------------------
Expand Down
7 changes: 3 additions & 4 deletions docs/source/setup.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@ easy way to install them on `Windows`, `Linux` and `macOS`, preferably as::

pip3 install ezdxf

The `pyparsing`_ package and the `typing_extensions`_ are the only hard dependency
and will be installed automatically by `pip3`!
The `pyparsing`_ package, `numpy`_ and the `typing_extensions`_ are the only hard
dependency and will be installed automatically by `pip3`!

The minimal required Python version is determined by the latest stable version
of `pypy3`_ and the Python version deployed by the `Raspberry Pi`_ OS, which
would be Python 3.9 in 2022, but Python 3.7 will be kept as the minimal version
for the 1.0 release.
would be Python 3.9 in 2022.

Basic Installation
------------------
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def read_until(lines):
url="https://ezdxf.mozman.at",
download_url="https://pypi.org/project/ezdxf/",
author_email="[email protected]",
python_requires=">=3.7",
python_requires=">=3.8",
package_dir={"": "src"},
packages=find_packages("src"),
zip_safe=False,
Expand Down

0 comments on commit 31c86b7

Please sign in to comment.