Commit Graph

490 Commits

Author SHA1 Message Date
Christoph Reiter 71630e59df version bump 2019-10-24 22:24:56 +02:00
Christoph Reiter 8643af4c10 release 2019-10-24 22:23:26 +02:00
Christoph Reiter 642e51edea travis: try building with a newer macos image
setuptools fails somehow, maybe this helps
2019-10-24 22:02:21 +02:00
Christoph Reiter 7ee1a6a89c CI/msys2: don't pass extra cflags, it's all handled in setup.py now 2019-10-22 20:36:28 +02:00
Christoph Reiter e36b3064f7 ci: also update attrs on Windows builds 2019-10-22 20:14:03 +02:00
Christoph Reiter d34f41efd4 travis: test with Python 3.8 2019-10-22 20:13:57 +02:00
Christoph Reiter 9ff2fe0722 travis-ci: try working around pip installing the wrong attrs version 2019-10-22 19:37:27 +02:00
Christoph Reiter 4bfee0d26e Add py3.8 classifier 2019-10-22 19:31:09 +02:00
Christoph Reiter ebeeba4b89 build: Remove -Wdeclaration-after-statement
Python 3.8 headers trigger this and we don't really need it anymore
2019-10-22 19:30:56 +02:00
Christoph Reiter 98fa2aed65 enum: explicitely set enum.__str__
Python 3.8 has removed the int.__str__ implementation. So we don't fall
back to object.__str__ and thus enum.__repr__ set __str__ to int.__repr__
instead. This gives us the same behaviour with all python versions.

See https://github.com/python/cpython/commit/96aeaec64738b730
2019-10-22 19:30:46 +02:00
Christoph Reiter 7c3a71d1de version bump 2019-04-19 18:10:35 +02:00
Christoph Reiter 523e679c1b release 2019-04-19 18:04:32 +02:00
Christoph Reiter f095c9d69e
Merge pull request #145 from lazka/fix-meson-subdir-absolute
meson: fix configure error with meson 0.50 re absolute paths. Fixes #144
2019-03-23 23:46:09 +01:00
Christoph Reiter 878932bf9c meson: fix configure error with meson 0.50 re absolute paths. Fixes #144
The newest meson version has started to fail:
meson.build:62:0: ERROR: Subdir keyword must not be an absolute path.

Fix by using install_dir instead of subdir.
2019-03-23 22:27:40 +01:00
Christoph Reiter 46f02404b2 travis-ci: udpate to pypy6 2019-03-23 18:51:33 +01:00
Christoph Reiter ac6c5d3c66 travis: handle homebrew libffi brokenness 2019-03-09 20:33:06 +01:00
Christoph Reiter f069beaa8e travis: install glib on macos, somehow some deps are missing 2019-03-09 17:54:20 +01:00
Christoph Reiter e616e810fc Don't use PyOS_FSPath() with PyPy3.6
The latest PyPy 3.6 release doesn't implement PyOS_FSPath, so don't use
it for now.
2019-03-02 19:00:30 +01:00
Christoph Reiter b9b6e49ad0 ci: drop the win32 py3.4 build and appveyor
Python 3.4 requires an older MSVC but the older image for azure-pipelines is missing
choco which makes it hard to install things.

Python 3.4 is hardly used anymore and we test on Linux still, so just drop it.

This allows us to get rid of appveyor.
2019-02-24 16:21:00 +01:00
Christoph Reiter 43b71439fa ci: move the py27 win32 build from appveyor to azure-pipelines 2019-02-24 15:57:52 +01:00
Christoph Reiter a54e7dbcd4 tests: fix a pytest deprecation warning
https://docs.pytest.org/en/latest/deprecations.html#raises-warns-exec
2019-02-13 17:02:47 +01:00
Christoph Reiter 56a7bd5b61 meson: install .egg-info to platlib
See https://gitlab.gnome.org/GNOME/pygobject/commit/28132d8111
2019-01-27 10:24:48 +01:00
Christoph Reiter 3c39f6b7a5 getting_started: add Python devel packages to install commands
Otherwise one gets "Python.h: File or folder not found" on install.
2019-01-27 10:17:31 +01:00
Christoph Reiter 91241aff52 docs: getting started: add instructions on how to install pkg-config. See #137 2018-12-08 19:46:50 +01:00
Christoph Reiter 24a0f8cbbe docs: add some instructions for building/installing pycairo. See #136 2018-11-27 16:46:42 +01:00
Christoph Reiter fb102522b7 ci: move vs2017 jobs from appveyor to azure
and clean things up a bit
2018-11-20 17:04:03 +01:00
Christoph Reiter c6821da67d ci: don't fail on codecov errors, it's flaky atm 2018-11-07 20:55:40 +01:00
Christoph Reiter 1d852d8638
Merge pull request #134 from cvtsi2sd/master
Fix typo in context.rst (loosing -> losing)
2018-11-07 17:33:39 +01:00
Matteo Italia 41aea39b09 Fix typo in context.rst (loosing -> losing) 2018-11-07 16:20:52 +01:00
Christoph Reiter 3be0603bf6 version bump 2018-11-04 11:55:34 +01:00
Christoph Reiter c666979e51 release 2018-11-04 11:52:06 +01:00
Christoph Reiter d07aa4e613 docs: add CAIRO_VERSION_STRING 2018-11-04 11:49:51 +01:00
Christoph Reiter 416d4b97c7 build: drop Python 3.3 support
It might still work, but we don't test it any longer.
2018-11-04 11:18:47 +01:00
Christoph Reiter d879361d67 meson: use new copy arg for configure_file and require meson 0.47 2018-11-04 11:00:27 +01:00
Christoph Reiter 025ed8278f Expose compile-time version macros 2018-11-04 10:16:42 +01:00
Christoph Reiter e79dea507e
Merge pull request #127 from mgorny/pkgconfig-install-dir
setup.py: Support overriding pkg-config install directory
2018-11-03 10:39:01 +01:00
Christoph Reiter d9aa39256f
Merge pull request #130 from pygobject/cairo-1.16-api
Add new cairo 1.16 API
2018-11-03 10:27:54 +01:00
Michał Górny 430c6ffb65 setup.py: Support specifying custom --pkgconfigdir
Support overriding --pkgconfigdir for whenever the autodetection
gives incorrect result (e.g. PyPy).  Fixes #119.
2018-11-02 16:48:57 +01:00
Christoph Reiter 7473215210 Add new cairo 1.16 API
Plus some mime type constants from 1.14 which I forgot.

All the API is only exposed when building with cairo 1.15.10+ (Ubuntu 18.04)
except the font variation stuff which is 1.15.12+ (Ubuntu 18.10)
2018-11-02 15:03:04 +01:00
Christoph Reiter 425ec3094e docs: use python3 for building; reference the latest 2/3 docs instead of specific versions 2018-11-02 12:50:23 +01:00
Christoph Reiter c89635f4f0 travis: switch to the xcode9.4 image, homebrew Python is broken on the older one 2018-11-02 09:45:03 +01:00
Christoph Reiter 8bdd928dfa surface: fix wrong argument type name
Both types are the same so this doesn't make a difference.
2018-11-01 13:54:02 +01:00
Christoph Reiter ec7006268f ci: make ci fail if the msvc build fails. Fixes #122 2018-10-02 00:58:48 +02:00
Christoph Reiter d02631ed31 ci: move msys2 builds to azure 2018-10-02 00:25:15 +02:00
Christoph Reiter 8ff6525a38 azure: rename, it doesn't detect it.. 2018-10-01 23:22:12 +02:00
Christoph Reiter be1f0be034 Add a basic azure pipelines config 2018-10-01 23:17:49 +02:00
Christoph Reiter 278671c398
Merge pull request #126 from lazka/typing-ctx-manager
typing: add annotations for __enter__/__exit__. Fixes #125
2018-09-30 16:41:48 +02:00
Christoph Reiter c969d76970 typing: add annotations for __enter__/__exit__. Fixes #125 2018-09-30 15:07:06 +02:00
Christoph Reiter dc601544c9 appveyor: pass --force when updating msys2
To avoid file conflict errors
2018-09-30 15:06:04 +02:00
Christoph Reiter 08e271372a
Merge pull request #124 from nikolas/patch-1
docs: Remove broken link to hamster library
2018-09-29 09:43:24 +02:00