Peter Dimov
f09045ae62
Normalize static/dynamic link macros and avoid redefinition warnings
2023-12-22 05:36:47 +02:00
Stefan Seefeld
47d5bc76f6
Revert "Remove obsolete Jamfile"
boost-1.83.0.beta1
boost-1.86.0.beta1
boost-1.86.0
boost-1.85.0.beta1
boost-1.85.0
boost-1.84.0.beta1
boost-1.84.0
boost-1.81.0
boost-1.83.0
boost-1.82.0.beta1
boost-1.82.0
2022-09-05 21:43:23 -04:00
Stefan Seefeld
508da1d198
Fix windows CI builds.
2022-08-24 13:02:31 -04:00
Stefan Seefeld
271bcea8bf
Don't attempt to deploy documentation from PRs.
2022-08-24 13:02:31 -04:00
Stefan Seefeld
fdd3e8b2c1
Remove obsolete Jamfile
2022-08-24 13:02:31 -04:00
Victor Stinner
a218babc8d
Fix enum_type_object type on Python 3.11
...
The enum_type_object type inherits from PyLong_Type which is not tracked
by the GC. Instances doesn't have to be tracked by the GC: remove the
Py_TPFLAGS_HAVE_GC flag.
The Python C API documentation says:
"To create a container type, the tp_flags field of the type object
must include the Py_TPFLAGS_HAVE_GC and provide an implementation of
the tp_traverse handler."
https://docs.python.org/dev/c-api/gcsupport.html
The new exception was introduced in Python 3.11 by:
https://github.com/python/cpython/issues/88429
2022-04-26 09:42:26 -04:00
Denis Arnaud
41e208ecb5
Update call_method.hpp
...
Was missing from https://github.com/boostorg/python/pull/320
I've tested it on one of my projects with (that patch on) Boost.Python/Boost 1.76.0 and it works well. Without that patch, there is a deprecation error.
2022-03-19 13:06:49 -04:00
Hajo Kirchhoff
f028aa4076
-fix: issue #239 exec_file does not close the FILE handle. Note: Using FILE* is a bad choice here because of possible exceptions, but Py_RunFile is a C function. This fix works, because Py_RunFile - as a C function - does not throw exceptions.
2021-08-10 12:25:40 -04:00
Hajo Kirchhoff
a060d43bf2
-fix: boost::python::exec_file completely broken when PY_VERSION_HEX >= 0x03010000. Bug: char* f pointed to a temporary buffer returned by PyBytes_AsString. This buffer was released when Py_DECREF(fb) was called. As a result, f pointed to invalid memory when being passed to Py_RunFile.
2021-08-10 12:25:40 -04:00
Stefan Seefeld
8dd1511773
Use the /python//numpy target instead of [ numpy.include ] ( fixes #361 )
boost-1.81.0.beta1
boost-1.80.0.beta1
boost-1.80.0
boost-1.79.0.beta1
boost-1.79.0
boost-1.78.0.beta1
boost-1.78.0
boost-1.77.0.beta1
boost-1.77.0
2021-07-04 15:29:43 -04:00
Peter Dimov
909a4d1530
Merge branch 'master' into develop
2021-06-10 02:46:19 +03:00
TaWeiTu
aee2667407
Fix deprecated usage of <boost/bind.hpp>
...
Replace <boost/bind.hpp> with <boost/bind/bind.hpp> and use namespace
boost::placeholders when necessary.
2021-06-09 07:16:19 -04:00
Peter Dimov
209179fa09
Add CMakeLists.txt
2021-06-04 03:10:21 +03:00
Stefan Seefeld
5e77eabb63
Revert previous commit until 'Boost.Build' is ready.
2021-05-26 07:46:42 -04:00
Peter Dimov
ecda18f01e
Use the /python//numpy target instead of [ numpy.include ] ( fixes #361 )
2021-05-24 18:54:56 -04:00
Stefan Seefeld
2a82afdf6d
Upgrade base image & build prerequisites.
2021-04-30 22:59:25 -04:00
Stefan Seefeld
aca3c80c4f
Respect alignment of by-value storage.
2021-04-30 22:59:25 -04:00
Stefan Seefeld
68fa9dccde
Merge branch 'develop'
boost-1.76.0.beta1
boost-1.76.0
2021-03-04 11:57:23 -05:00
Dmitry Bely
f5d14ef15e
Fix issue #280
2021-02-07 23:07:30 -05:00
Dmitry Bely
f7254f5d8a
Add a test case for issue #280
2021-02-07 23:07:30 -05:00
Edward Diener
bffcb99ae7
[skip ci] Add "cxxstd" json field. The "cxxstd" json field is being added to each Boost library's meta json information for libraries in order to specify the minumum C++ standard compilation level. The value of this field matches one of the values for 'cxxstd' in Boost.Build. The purpose of doing this is to provide information for the Boost website documentation for each library which will specify the minimum C++ standard compilation that an end-user must employ in order to use the particular library. This will aid end-users who want to know if they can successfully use a Boost library based on their C++ compiler's compilation level, without having to search the library's documentation to find this out.
2021-01-21 07:25:16 -05:00
Victor Stinner
cbd2d9f033
Fix compatibility with Python 3.10.0a4: fopen
...
Replace private _Py_fopen() with public fopen(): private _Py_fopen()
function was removed in 3.10.0a4:
https://bugs.python.org/issue32381
2021-01-06 07:55:48 -05:00
Cedric Schmeits
0f1945060f
noncopyable is located in the boost namespace
2021-01-04 01:35:25 -05:00
Cedric Schmeits
30dd3fe8b1
added includes for call_method.hpp and def.hpp
2021-01-04 01:35:25 -05:00
Stefan Seefeld
500194edb7
Fix Python 3.10 (PEP-620) incompatibility.
2021-01-04 01:31:40 -05:00
Stefan Seefeld
cd953cff06
Replace appveyor by github actions.
2021-01-04 00:21:07 -05:00
Stefan Seefeld
5e4f6278e0
Remove travis-ci logic.
2020-12-26 14:53:19 -05:00
Stefan Seefeld
108c93f7c3
Deploy documentation via github actions.
2020-12-26 14:53:19 -05:00
Stefan Seefeld
3dd6bcf39f
Add OSX tests.
2020-12-26 14:53:19 -05:00
Tom Kent
97a8550a9f
Using docker images to execut the github actions for testing ( #335 )
...
Introduce github action-based test workflow for Ubuntu.
2020-12-22 16:56:09 -05:00
Thomas Kent
c9521a8ef5
Updated VS2019 to 16.8.3
2020-12-22 16:53:56 -05:00
Thomas Kent
8328a4f535
New VS2019 version on appveyor
2020-12-13 14:14:29 -05:00
Stefan Seefeld
cc973263c4
Merge branch 'develop'
boost-1.75.0
boost-1.75.0.beta1
2020-11-02 00:58:26 -05:00
Pat Riehecky
f1320bf30b
Add pypy3 to TravisCI matrix
2020-10-16 12:35:44 -04:00
Pat Riehecky
d9f06052e2
Convert Python 3.1+ to use public C API for filenames
2020-10-16 12:35:44 -04:00
Pat Riehecky
9ad5298d0b
Use python macros to stay on public API for new pythons
2020-10-16 12:35:44 -04:00
Pat Riehecky
944fa075b3
Stop using deprecated API calls (python-3.9) #319
2020-10-15 21:54:47 -04:00
Stefan Seefeld
b4fbf1840b
Fix appveyor builds.
2020-10-15 12:45:35 -04:00
Stefan Seefeld
ec402ea0d7
Merge branch 'develop'
2020-08-14 15:59:10 -04:00
David Seifert
60405cc48c
Remove Boost.Python-specific python-tag code
2020-08-08 02:32:07 -04:00
Austin Maliszewski
9e1132f4f5
Handle NULL from call to PyLong_Type
...
PyLong_Type raises an exception if the argument is not convertible to
long, therefore, this has to be handled as new_reference and not
new_non_null_reference, otherwise a segfault will occur.
2020-08-08 02:30:46 -04:00
Tyler Kieft
bf824c1b98
Ensure all doctests run
2020-08-08 02:19:03 -04:00
Andrey Semashev
01ab510585
Removed usage of deprecated header boost/detail/iterator.hpp.
...
The header is deprecated in favor of <iterator>. It generates compiler
warnings and will be removed in a future release.
2020-08-07 18:09:31 -04:00
Edward Diener
5e2d55d801
Revert back to original, as __cdecl is fine with the Embarcadero C++ clang-based compilers.
2020-08-07 17:35:12 -04:00
Edward Diener
17886fc296
Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers.
2020-08-07 17:35:12 -04:00
Stefan Seefeld
15115eb1f8
Fix appveyor build failures.
2020-08-07 14:04:30 -04:00
Julien Schueller
1727b67a5a
detail/caller.hpp:127:2: error: extra ';' [-Wpedantic]
2019-06-01 19:07:40 -04:00
Peter Dimov
0a9b687e9e
Merge pull request #264 from boostorg/pr/fix-numpy-install
...
Only boost-install boost_numpy when it's being built
2019-04-17 15:08:15 -07:00
Peter Dimov
8c8b0dc215
Only boost-install boost_numpy when it's being built
2019-04-18 00:02:52 +03:00
Nikita Kniazev
fdc9ec760f
Fixed module tests fail
...
Since recently lightweight_test introduced a sanitation to ensure that
`boost::report_errors()` is called, and it does not in module tests.
The problem could be fixed by exporting the function and calling it from
these python tests, but as it already done in other module tests I just
turned those usages lightweight_test to a regular assertation.
2019-03-31 20:36:56 -04:00