Commit Graph

489 Commits

Author SHA1 Message Date
Vadim Markovtsev d314ab95bb
Enforce the extension module in setup.py
Without this change, [cibuildwheel](https://github.com/pypa/cibuildwheel) cannot build a correct wheel from the generated project. The problem is that the native lib is added by `MANIFEST.in` and `python3 -m pip wheel` ignores it and thinks that the package is pure Python. Thefore it builds a pure wheel and the packaging pipeline crashes.
2023-04-14 17:01:06 +02:00
Randall O'Reilly 5271841b4c
Merge pull request #321 from go-python/issue-266
cmd: remove dependency on sed
2023-03-31 12:34:20 -07:00
Randall O'Reilly 042b2543e6
Merge pull request #322 from go-python/py2
all: drop python2 support
2023-03-31 12:31:27 -07:00
Sebastien Binet 50358bcb29 cmd: remove dependency on sed
Fixes #266.

Signed-off-by: Sebastien Binet <binet@cern.ch>
2023-03-31 19:24:00 +02:00
Sebastien Binet 3941218a02 bind: add support for PEP-632
Signed-off-by: Sebastien Binet <binet@cern.ch>
2023-03-31 18:55:29 +02:00
Sebastien Binet b7e1c5e7f2 all: bump to Go-1.20
Signed-off-by: Sebastien Binet <binet@cern.ch>
2023-03-31 18:44:57 +02:00
Sebastien Binet eddc00b4b6 gopy: update test for new error message
Signed-off-by: Sebastien Binet <binet@cern.ch>
2023-03-31 18:44:57 +02:00
Sebastien Binet 1e88c8eb7e gopy: simplify test output error if diff is available
Signed-off-by: Sebastien Binet <binet@cern.ch>
2023-03-31 18:44:57 +02:00
Sebastien Binet 3b3e9b5a0a all: remove tests for python2
Signed-off-by: Sebastien Binet <binet@cern.ch>
2023-03-31 18:44:57 +02:00
Sebastien Binet d342bb85d1 all: bump x/tools, x/mod and x/sys
Signed-off-by: Sebastien Binet <binet@cern.ch>
2023-03-29 13:46:07 +02:00
Randall C. O'Reilly a28ee87b14 v0.4.6 release 2023-03-23 03:22:06 -07:00
Randall O'Reilly d9f6bbb2cf
Merge pull request #310 from mlange-42/fix-pkg-imports
Fix: mixed absolute and relative imports
2023-03-23 03:06:45 -07:00
Randall O'Reilly 0e5cdac063
Merge pull request #312 from mlange-42/fix-path-quotes
Fix: Broken with Go 1.20 - quoted path
2023-03-23 03:05:50 -07:00
mlange-42 712090b747 replace deprecated package compilation mode, add NeedsDeps 2023-02-02 15:29:29 +01:00
mlange-42 2725838e76 unquote path 2023-02-02 13:32:38 +01:00
mlange-42 3bbd58c8c1 handle imports for command pkg the same as build and exe 2023-02-01 13:22:14 +01:00
Randall O'Reilly 7a98aa58fe
Merge pull request #306 from soren-n/patch-1
Fix dead links to setup.py example in readme
2023-01-11 04:37:52 -08:00
Søren Nørbæk 61e011bcfd
Fix dead links to setup.py example in readme
The project linked to as an example had moved, I tracked it down through the author of the original issue that added the links.
2023-01-11 13:27:33 +01:00
Randall C. O'Reilly 77559d50a8 update go get -> go install in readme - fixes #305 2023-01-04 12:44:35 -08:00
Randall O'Reilly daea424b18
Merge pull request #302 from psha-/301-import-multiple-go-packages
Fixes a leftover bug to properly handle multiple go packages when gen…
2022-12-15 02:22:32 -08:00
Asparuh Krastev 7ca1a4a663 Fixes a leftover bug to properly handle multiple go packages when generating python relative imports.
Refs go-python/gopy #245
2022-12-09 14:37:51 +02:00
Randall C. O'Reilly d3e18ee5f4 updated to 19, gofmt test should now pass 2022-11-15 02:54:30 -08:00
Randall C. O'Reilly fa2ae3371d more gofmt fixes.. I guess v19 gofmt is now formatting comments -- goimports is not doing this? probably I need to update. 2022-11-15 02:36:11 -08:00
Randall C. O'Reilly d2379001f2 reformat variadic 2022-11-15 02:28:05 -08:00
Randall C. O'Reilly 4704e71588 grr.. string formatting 2022-11-15 01:41:39 -08:00
Randall C. O'Reilly 3fcb7239d6 revert string leak results -- apparently works on linux but not mac?? 2022-11-15 01:29:37 -08:00
Randall C. O'Reilly f92d23e9a7 fix goimports 2022-11-15 01:05:46 -08:00
Randall C. O'Reilly 632f1e9690 revert testHi so that the CI tests work -- ubutntu-latest still has earlier python version. update CI to use latest 18, 19 versions 2022-11-15 00:58:20 -08:00
Randall C. O'Reilly e3bed173cf Fix the TestCStrings want string -- need to fix the leaks but it is better to have the tests pass 2022-11-15 00:43:06 -08:00
Randall O'Reilly d867991814
Merge pull request #293 from feast-dev/master
fix: Add build tags to loadPackage
2022-11-15 00:33:05 -08:00
Randall O'Reilly ff8d8c21c6
Merge pull request #294 from aisk/patch-1
fix broken link on readme
2022-11-15 00:25:54 -08:00
Randall O'Reilly f14c4faf36
Merge pull request #296 from darren/clean_symbol
gen symbol name use index to avoid illegal symobl name
2022-11-15 00:24:40 -08:00
Randall C. O'Reilly 8844d76873 update testHI want to fit python 3.10 error string 2022-11-15 00:17:33 -08:00
Randall O'Reilly 46b27b3c37
Merge pull request #297 from NoamK-CR/fix/slice-element-is-pyobject
Fix - slice element is pyobject
2022-11-15 00:13:41 -08:00
Noam Kleinburd 51cf93edab Test complex slices. 2022-11-13 16:46:50 +02:00
Noam Kleinburd 70048710c0 Add relevant parameters for pybindgen when a PyObject* is part of the function signature.
This occurs when dealing with a slice of complex numbers.
2022-11-13 15:59:40 +02:00
Darren Hoo e7b2a5e3a6 gen symbol name use index to avoid illegal symobl name(control character) 2022-09-16 12:29:09 +08:00
AN Long ad3eababdf
fix broken link on readme
The cross-plaform example had changed the file name in b1a79b8b74
2022-07-15 20:22:31 +08:00
Kevin Zhang 252048177d Fix
Signed-off-by: Kevin Zhang <kzhang@tecton.ai>
2022-07-14 14:17:11 -07:00
Kevin Zhang 67b016d61e Fix
Signed-off-by: Kevin Zhang <kzhang@tecton.ai>
2022-07-14 14:13:30 -07:00
Kevin Zhang aa312c13fd Fix
Signed-off-by: Kevin Zhang <kzhang@tecton.ai>
2022-07-14 14:10:38 -07:00
Kevin Zhang 591500e321 Add build tags
Signed-off-by: Kevin Zhang <kzhang@tecton.ai>
2022-07-14 13:58:59 -07:00
Randall C. O'Reilly 1018dfd79f v0.4.5 release 2022-07-11 12:34:11 -07:00
Randall O'Reilly cb06da25ff
Merge pull request #288 from kjahed/kjahed/support_error_slice
support error slices
2022-07-11 12:09:49 -07:00
Randall O'Reilly 71754188e6
Merge pull request #290 from AlmogBaku/patch-2
Fixes #289
2022-07-11 11:52:08 -07:00
Almog Baku 0457da34db
Fixes #289 2022-07-09 23:11:27 +03:00
Karim Jahed 8578af24af support error slices 2022-07-04 11:01:11 -04:00
Randall C. O'Reilly 0eb43bb47f v0.4.4 release 2022-06-30 23:31:47 -07:00
Randall C. O'Reilly 2a31e2f5ec make new args avail for all modes 2022-06-30 23:30:35 -07:00
Randall O'Reilly 3b6fc619f4
Merge pull request #285 from feast-dev/release-gil
Release GIL in function generator
2022-06-30 23:21:00 -07:00