Commit graph

214 commits

Author SHA1 Message Date
Cosimo Lupo
3133c9c131
pin setuptools<72.2 on pypy to workaround build error coming from distutils
Some checks failed
Build + Deploy / Build Source Distribution (push) Has been cancelled
Build + Deploy / auto32 on windows-latest (push) Has been cancelled
Build + Deploy / auto64 on macos-13 (push) Has been cancelled
Build + Deploy / auto64 on windows-latest (push) Has been cancelled
Build + Deploy / manylinux1 auto64 on ubuntu-latest (push) Has been cancelled
Build + Deploy / manylinux2010 auto64 on ubuntu-latest (push) Has been cancelled
Build + Deploy / manylinux2014 auto64 on ubuntu-latest (push) Has been cancelled
Build + Deploy / universal2 on macos-latest (push) Has been cancelled
Build + Deploy / py310 on aarch64 (push) Has been cancelled
Build + Deploy / py311 on aarch64 (push) Has been cancelled
Build + Deploy / py312 on aarch64 (push) Has been cancelled
Build + Deploy / py313 on aarch64 (push) Has been cancelled
Build + Deploy / py36 on aarch64 (push) Has been cancelled
Build + Deploy / py37 on aarch64 (push) Has been cancelled
Build + Deploy / py38 on aarch64 (push) Has been cancelled
Build + Deploy / py39 on aarch64 (push) Has been cancelled
Build + Deploy / Upload if tagged commit (push) Has been cancelled
https://github.com/pypa/distutils/issues/283
2024-10-18 11:47:24 +01:00
Cosimo Lupo
12ded61ab0
update various GH actions to unblock CI 2024-10-18 11:27:16 +01:00
Cosimo Lupo
f288c8e1ba
Merge pull request #57 from Hoolean/wheels-for-3.13
Build wheels for Python 3.13
2024-10-18 12:20:22 +02:00
Hoolean
d22f01832e Build wheels for Python 3.13
Replicates the update process for Python 3.12:

	c9946fe8af
2024-10-10 21:35:01 +01:00
Cosimo Lupo
410553defd
relax setuptools_scm min requirement
setuptools_scm>=7.0.0 no longer supports python 3.6, whereas pyclipper still support python 2.7...

https://github.com/fonttools/pyclipper/issues/52 broke the CI, this should fix broken build.
2023-09-25 10:57:57 +01:00
Cosimo Lupo
65798c8873
Merge pull request #49 from Rubo3/patch-1
Remove setuptools_scm_git_archive as it's obsolete
2023-09-23 13:15:37 +02:00
Cosimo Lupo
b740d82300
set language_level=2 explicitly as 3 is now default
Some checks failed
Build + Deploy / Build Source Distribution (push) Has been cancelled
Build + Deploy / auto32 on windows-latest (push) Has been cancelled
Build + Deploy / auto64 on macos-latest (push) Has been cancelled
Build + Deploy / auto64 on windows-latest (push) Has been cancelled
Build + Deploy / manylinux1 auto64 on ubuntu-latest (push) Has been cancelled
Build + Deploy / manylinux2010 auto64 on ubuntu-latest (push) Has been cancelled
Build + Deploy / manylinux2014 auto64 on ubuntu-latest (push) Has been cancelled
Build + Deploy / universal2 on macos-latest (push) Has been cancelled
Build + Deploy / py310 on aarch64 (push) Has been cancelled
Build + Deploy / py311 on aarch64 (push) Has been cancelled
Build + Deploy / py312 on aarch64 (push) Has been cancelled
Build + Deploy / py36 on aarch64 (push) Has been cancelled
Build + Deploy / py37 on aarch64 (push) Has been cancelled
Build + Deploy / py38 on aarch64 (push) Has been cancelled
Build + Deploy / py39 on aarch64 (push) Has been cancelled
Build + Deploy / Upload if tagged commit (push) Has been cancelled
2023-09-07 12:57:07 +01:00
Cosimo Lupo
c9946fe8af
build wheels for Python 3.12 2023-09-07 12:50:54 +01:00
Marco Rubin
06bdb26596
Remove setuptools_scm_git_archive as it's obsolete
From the project [README](https://github.com/Changaco/setuptools_scm_git_archive):

```
This plugin is obsolete. ``setuptools_scm >= 7.0.0`` supports Git archives by itself.
```
2023-01-11 13:04:06 +00:00
Cosimo Lupo
e349e2bb02
Merge pull request #48 from fonttools/py311
Some checks failed
Build + Deploy / Build Source Distribution (push) Has been cancelled
Build + Deploy / auto32 on windows-latest (push) Has been cancelled
Build + Deploy / auto64 on macos-latest (push) Has been cancelled
Build + Deploy / auto64 on windows-latest (push) Has been cancelled
Build + Deploy / manylinux1 auto64 on ubuntu-latest (push) Has been cancelled
Build + Deploy / manylinux2010 auto64 on ubuntu-latest (push) Has been cancelled
Build + Deploy / manylinux2014 auto64 on ubuntu-latest (push) Has been cancelled
Build + Deploy / universal2 on macos-latest (push) Has been cancelled
Build + Deploy / py310 on aarch64 (push) Has been cancelled
Build + Deploy / py311 on aarch64 (push) Has been cancelled
Build + Deploy / py36 on aarch64 (push) Has been cancelled
Build + Deploy / py37 on aarch64 (push) Has been cancelled
Build + Deploy / py38 on aarch64 (push) Has been cancelled
Build + Deploy / py39 on aarch64 (push) Has been cancelled
Build + Deploy / Upload if tagged commit (push) Has been cancelled
Build Python 3.11 wheels
2022-11-16 13:06:57 +00:00
Cosimo Lupo
d5b303fcf5
Build Python 3.11 wheels 2022-11-16 12:52:03 +00:00
Cosimo Lupo
e7ebe8e9c0 ci.yml: build pypy3.9 wheel with manylinux2014
Some checks failed
Build + Deploy / Build Source Distribution (push) Has been cancelled
Build + Deploy / auto32 on windows-latest (push) Has been cancelled
Build + Deploy / auto64 on macos-latest (push) Has been cancelled
Build + Deploy / auto64 on windows-latest (push) Has been cancelled
Build + Deploy / manylinux1 auto64 on ubuntu-latest (push) Has been cancelled
Build + Deploy / manylinux2010 auto64 on ubuntu-latest (push) Has been cancelled
Build + Deploy / manylinux2014 auto64 on ubuntu-latest (push) Has been cancelled
Build + Deploy / universal2 on macos-latest (push) Has been cancelled
Build + Deploy / py310 on aarch64 (push) Has been cancelled
Build + Deploy / py36 on aarch64 (push) Has been cancelled
Build + Deploy / py37 on aarch64 (push) Has been cancelled
Build + Deploy / py38 on aarch64 (push) Has been cancelled
Build + Deploy / py39 on aarch64 (push) Has been cancelled
Build + Deploy / Upload if tagged commit (push) Has been cancelled
as it no longer supports manylinux2010
2022-06-13 11:44:08 +01:00
Cosimo Lupo
f8e280a25a ci.yml: deploy step needs to checkout repo to extract tag info
Some checks failed
Build + Deploy / Build Source Distribution (push) Has been cancelled
Build + Deploy / auto32 on windows-latest (push) Has been cancelled
Build + Deploy / auto64 on macos-latest (push) Has been cancelled
Build + Deploy / auto64 on windows-latest (push) Has been cancelled
Build + Deploy / manylinux1 auto64 on ubuntu-latest (push) Has been cancelled
Build + Deploy / manylinux2010 auto64 on ubuntu-latest (push) Has been cancelled
Build + Deploy / universal2 on macos-latest (push) Has been cancelled
Build + Deploy / py310 on aarch64 (push) Has been cancelled
Build + Deploy / py36 on aarch64 (push) Has been cancelled
Build + Deploy / py37 on aarch64 (push) Has been cancelled
Build + Deploy / py38 on aarch64 (push) Has been cancelled
Build + Deploy / py39 on aarch64 (push) Has been cancelled
Build + Deploy / Upload if tagged commit (push) Has been cancelled
2021-12-01 14:35:51 +00:00
Cosimo Lupo
2ec1236698
Merge pull request #44 from fonttools/cibuildwheel
Some checks failed
Build + Deploy / Build Source Distribution (push) Has been cancelled
Build + Deploy / auto32 on windows-latest (push) Has been cancelled
Build + Deploy / auto64 on macos-latest (push) Has been cancelled
Build + Deploy / auto64 on windows-latest (push) Has been cancelled
Build + Deploy / manylinux1 auto64 on ubuntu-latest (push) Has been cancelled
Build + Deploy / manylinux2010 auto64 on ubuntu-latest (push) Has been cancelled
Build + Deploy / universal2 on macos-latest (push) Has been cancelled
Build + Deploy / py310 on aarch64 (push) Has been cancelled
Build + Deploy / py36 on aarch64 (push) Has been cancelled
Build + Deploy / py37 on aarch64 (push) Has been cancelled
Build + Deploy / py38 on aarch64 (push) Has been cancelled
Build + Deploy / py39 on aarch64 (push) Has been cancelled
Build + Deploy / Upload if tagged commit (push) Has been cancelled
use cibuildwheel instead of multibuild to build wheels
2021-12-01 13:22:26 +00:00
Cosimo Lupo
6e73da8c66 only build pypy wheels for linux 2021-12-01 13:08:19 +00:00
Cosimo Lupo
90c2f8d0a9 only build manylinux aarch64 wheels, no musllinux for now
too many otherwise
2021-12-01 12:42:15 +00:00
Cosimo Lupo
caacdf6eb9 use fetch-depth: 0 to get correct package version from setuptools_scm 2021-12-01 12:33:33 +00:00
Cosimo Lupo
eb4ee6357f ci.yml: 'master' was renamed 'main' 2021-12-01 12:27:52 +00:00
Cosimo Lupo
ea7d568533 remove multibuild submodule 2021-12-01 12:25:57 +00:00
Cosimo Lupo
41862b8bf7 use cibuildwheel instead of multibuild
this adds support for Python 3.10, mac universal2 and linuxc aarch64 wheels

Fixes #38 and #43
2021-12-01 12:24:34 +00:00
Cosimo Lupo
569a7af7d9 mute some cython and setuptools warnings 2021-12-01 12:09:31 +00:00
Cosimo Lupo
ecc3de6803 use the official .tar.gz format for sdist package
pypa/build uses only tar.gz, .zip is deprecated
2021-12-01 12:08:49 +00:00
Cosimo Lupo
f7b3366e23 pyproject.toml: define build-backend, add all build requirements 2021-12-01 11:54:05 +00:00
Cosimo Lupo
0bfbf8512f
Merge pull request #41 from arthurzam/main
setup.cfg: Replace dashes with underscores
2021-10-19 13:32:21 +01:00
Cosimo Lupo
0d33357d62 Merge branch 'pgajdos-master' into main 2021-10-19 14:31:03 +02:00
Cosimo Lupo
7b6924ffb2 Merge branch 'master' of https://github.com/pgajdos/pyclipper into pgajdos-master 2021-10-19 14:30:49 +02:00
Arthur Zamarin
7b95406acd
setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Signed-off-by: Arthur Zamarin <arthurzam@gmail.com>
2021-10-13 20:45:54 +03:00
Cosimo Lupo
5e10a2eda1
Merge pull request #40 from fonttools/export-version-string
Some checks failed
Build + Deploy / build_unix (macos-latest, x64, 3.6) (push) Has been cancelled
Build + Deploy / build_unix (macos-latest, x64, 3.7) (push) Has been cancelled
Build + Deploy / build_unix (macos-latest, x64, 3.8) (push) Has been cancelled
Build + Deploy / build_unix (macos-latest, x64, 3.9) (push) Has been cancelled
Build + Deploy / build_unix (ubuntu-latest, x64, 3.6) (push) Has been cancelled
Build + Deploy / build_unix (ubuntu-latest, x64, 3.7) (push) Has been cancelled
Build + Deploy / build_unix (ubuntu-latest, x64, 3.8) (push) Has been cancelled
Build + Deploy / build_unix (ubuntu-latest, x64, 3.9) (push) Has been cancelled
Build + Deploy / build_win (x64, 3.6) (push) Has been cancelled
Build + Deploy / build_win (x64, 3.7) (push) Has been cancelled
Build + Deploy / build_win (x64, 3.8) (push) Has been cancelled
Build + Deploy / build_win (x64, 3.9) (push) Has been cancelled
Build + Deploy / build_win (x86, 3.6) (push) Has been cancelled
Build + Deploy / build_win (x86, 3.7) (push) Has been cancelled
Build + Deploy / build_win (x86, 3.8) (push) Has been cancelled
Build + Deploy / build_win (x86, 3.9) (push) Has been cancelled
Build + Deploy / deploy (push) Has been cancelled
export pyclipper.__version__ as conventional in python packaging
2021-06-25 17:43:06 +01:00
Cosimo Lupo
19fcc36ee1 test_pyclipper: check pyclipper.__version__ exists and is a string 2021-06-25 17:30:35 +01:00
Cosimo Lupo
1d003cdeaf drop long deprecated SCALING_FACTOR warnings
since we moved the extension module to an internal pyclipper._pyclipper submodule, setting SCALING_FACTOR on the parent pyclipper package won't work any more. We may as well remove the deprecation warnings altogether since they have been there for long time now.
2021-06-25 17:15:52 +01:00
Cosimo Lupo
8aefba84b5 turn pyclipper into a package, export dynamic '__version__'
the _version.py file is autogenerated at build time from git tag using setuptools_scm; the pyclipper.__version__ variable exports that, as it's common in python packaging. This allows clients to import pyclipper and check its __version__ without needing to query the package metadata (which may be missing when pyclipper is embedded in native applications).
2021-06-25 17:08:44 +01:00
Cosimo Lupo
3de54fa4c4
deploy: must install cython to create sdist
Some checks failed
Build + Deploy / build_unix (macos-latest, x64, 3.6) (push) Has been cancelled
Build + Deploy / build_unix (macos-latest, x64, 3.7) (push) Has been cancelled
Build + Deploy / build_unix (macos-latest, x64, 3.8) (push) Has been cancelled
Build + Deploy / build_unix (macos-latest, x64, 3.9) (push) Has been cancelled
Build + Deploy / build_unix (ubuntu-latest, x64, 3.6) (push) Has been cancelled
Build + Deploy / build_unix (ubuntu-latest, x64, 3.7) (push) Has been cancelled
Build + Deploy / build_unix (ubuntu-latest, x64, 3.8) (push) Has been cancelled
Build + Deploy / build_unix (ubuntu-latest, x64, 3.9) (push) Has been cancelled
Build + Deploy / build_win (x64, 3.6) (push) Has been cancelled
Build + Deploy / build_win (x64, 3.7) (push) Has been cancelled
Build + Deploy / build_win (x64, 3.8) (push) Has been cancelled
Build + Deploy / build_win (x64, 3.9) (push) Has been cancelled
Build + Deploy / build_win (x86, 3.6) (push) Has been cancelled
Build + Deploy / build_win (x86, 3.7) (push) Has been cancelled
Build + Deploy / build_win (x86, 3.8) (push) Has been cancelled
Build + Deploy / build_win (x86, 3.9) (push) Has been cancelled
Build + Deploy / deploy (push) Has been cancelled
2020-12-27 12:46:23 +01:00
Cosimo Lupo
620657047d
don't match leading 'v' in tag names, we don't use it here
Some checks failed
Build + Deploy / build_unix (macos-latest, x64, 3.6) (push) Has been cancelled
Build + Deploy / build_unix (macos-latest, x64, 3.7) (push) Has been cancelled
Build + Deploy / build_unix (macos-latest, x64, 3.8) (push) Has been cancelled
Build + Deploy / build_unix (macos-latest, x64, 3.9) (push) Has been cancelled
Build + Deploy / build_unix (ubuntu-latest, x64, 3.6) (push) Has been cancelled
Build + Deploy / build_unix (ubuntu-latest, x64, 3.7) (push) Has been cancelled
Build + Deploy / build_unix (ubuntu-latest, x64, 3.8) (push) Has been cancelled
Build + Deploy / build_unix (ubuntu-latest, x64, 3.9) (push) Has been cancelled
Build + Deploy / build_win (x64, 3.6) (push) Has been cancelled
Build + Deploy / build_win (x64, 3.7) (push) Has been cancelled
Build + Deploy / build_win (x64, 3.8) (push) Has been cancelled
Build + Deploy / build_win (x64, 3.9) (push) Has been cancelled
Build + Deploy / build_win (x86, 3.6) (push) Has been cancelled
Build + Deploy / build_win (x86, 3.7) (push) Has been cancelled
Build + Deploy / build_win (x86, 3.8) (push) Has been cancelled
Build + Deploy / build_win (x86, 3.9) (push) Has been cancelled
Build + Deploy / deploy (push) Has been cancelled
2020-12-27 12:39:27 +01:00
Cosimo Lupo
2a9b44d3b2
fix build artifacts filenames
pass architecture in build_unix too even if always the same
2020-12-27 12:26:31 +01:00
Cosimo Lupo
31cfabb83a
set correct architecture for build_win job 2020-12-27 12:21:07 +01:00
Cosimo Lupo
e866f06818
fix build artifacts filenames 2020-12-27 12:16:28 +01:00
Cosimo Lupo
2cb034192f
Update CI badge 2020-12-27 12:09:54 +01:00
Cosimo Lupo
2e28ea052c
remove travis & appeveyor config files 2020-12-27 12:06:28 +01:00
Cosimo Lupo
620df76319
Merge pull request #36 from fonttools/github-ci
Set up Github Actions CI
2020-12-27 12:05:05 +01:00
Cosimo Lupo
59ce7a0cdf
ci: add build-win job 2020-12-27 11:58:01 +01:00
Cosimo Lupo
3078df9897
Add Github Actions workflow 2020-12-27 11:18:47 +01:00
Cosimo Lupo
5e6447ad56
Update multibuild submodule 2020-12-27 11:18:33 +01:00
Cosimo Lupo
2830e21bc2
Fix SyntaxWarning x is 0
Fixes #28
2020-12-27 10:53:08 +01:00
pgajdos
a81510bebd remove unittest2 from test dependencies 2020-07-16 12:18:43 +02:00
Cosimo Lupo
fc2772aba0
Merge pull request #30 from revarbat/nogil
Release the GIL while performing long processing.
2020-07-01 12:58:50 +01:00
Garth Minette
b089ab9610 Updated multibuild submodule to devel 2020-06-30 23:41:51 -07:00
pgajdos
305ecf949a fallback to unittest, it is enough for python3 2020-06-02 17:01:18 +02:00
Revar Desmera
8540f70f27 Release the GIL while performing long processing. 2020-05-11 03:25:41 -07:00
Cosimo Lupo
edf8bfbc79
setup automatic deployment on tags to PyPI 2019-11-29 17:34:02 +00:00
Cosimo Lupo
572b00852d
appveyor: set build to off and build wheel in test_script section 2019-11-29 17:21:54 +00:00