Commit graph

260 commits

Author SHA1 Message Date
Samuel Cormier-Iijima
03af32497f
get things working 2023-10-24 08:24:43 -04:00
K900
91e59e97d1
hack: rewrite all tests to use poetry-core 2023-10-24 08:24:40 -04:00
Phillip Cloud
67dade9d5f
Merge pull request #1348 from TikhonJelvis/pytesseract-executable-dependency
Add dependency on native Tesseract OCR executable for pytesseract
2023-10-21 12:36:12 +00:00
Phillip Cloud
00f7a372a7
Merge pull request #1338 from fmnxl/master
update rpds-py hash v0.10.4
2023-10-21 12:34:17 +00:00
Tikhon Jelvis
9ecb2808f1 Add dependency on native Tesseract OCR executable for pytesseract
The pytesseract package needs to have the `tesseract` executable available at runtime to work.

By default, the Python package looks for the `tesseract` executable in the PATH. This doesn't work here, so we need to override the `tesseract_cmd` with the path to the `tesseract` executable we pulled in from Nix. I did this with a patch [based on how pytesseract is set up in Nixpkgs][1].

The patching code feels a bit fiddly. I don't know the idiomatic way to do this sort of thing.

I included a test that will fail if pytesseract cannot find the `tesseract` executable. The test passed for me with both `preferWheels = true` and `preferWheels = false`, but I only included one in the test suite here, not sure if it makes sense to have both—the actual patching code had to be a bit different depending on whether the source was a wheel or not.

[1]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/python-modules/pytesseract/tesseract-binary.patch
2023-10-17 12:32:00 -07:00
Albert Peschar
6c57768602 Configure build system for blinker >= 1.6.3 2023-10-12 12:47:46 +00:00
Freeman
b55408104b update rpds-py hash v0.10.4 2023-10-08 18:14:55 +07:00
Albert Peschar
2ec5fa6d5a Add pkg-config dependency for mysqlclient 2023-10-02 15:58:43 +00:00
Phillip Cloud
3274fd90ad
Merge pull request #1319 from purcell/more-build-system-overrides
Additional build-systems entries
2023-09-22 12:30:10 +00:00
Steve Purcell
499f61b162 Additional build-systems entries 2023-09-22 14:05:10 +02:00
Phillip Cloud
4c494a611c
Merge pull request #1317 from fmnxl/master
update rpds-py hash v0.10.3
2023-09-22 11:51:32 +00:00
Phillip Cloud
af11139315
Merge pull request #1307 from l0b0/fix/cdk-nag
fix: cdk-nag
2023-09-22 11:51:08 +00:00
Albert Peschar
36d56bbdce Add poetry-core build system for procrastinate 2023-09-22 09:07:37 +00:00
Freeman
3090b26057 update rpds-py tested versions 2023-09-21 18:50:06 +07:00
Victor Engmark
952b7e3531 fix: Add cdk-nag setuptools dependency 2023-09-13 15:49:11 +12:00
Phillip Cloud
514de849e1
test: relock sqlalchemy test 2023-09-05 13:33:04 -04:00
Phillip Cloud
e0d5e2ef8d
test: add sqlalchemy2 test 2023-09-05 13:33:03 -04:00
Phillip Cloud
03872e14a7
fix(contourpy): allow wheel usage 2023-08-26 07:47:35 -04:00
Phillip Cloud
b1ca8837b3
chore: add rpds-py versions hashes and bump version in tests 2023-07-20 06:38:25 -04:00
Phillip Cloud
16efab33dd
chore: mirror rpds-py with no wheels 2023-07-16 08:59:53 -04:00
Phillip Cloud
cd54268f81
fix: fix jsonschema wheel build 2023-07-16 08:57:49 -04:00
Phillip Cloud
3f12e27d38
fix: fix jsonschema-specifications wheel build 2023-07-16 08:53:36 -04:00
Phillip Cloud
9877020634
fix: fix referencing wheel build 2023-07-16 08:50:49 -04:00
Phillip Cloud
5066b324b4
fix(rpds-py): ensure that wheel builds work 2023-07-16 08:44:11 -04:00
adisbladis
a2d566fafe Bump flake inputs 2023-07-14 21:32:21 +12:00
adisbladis
96d87dcbd5 Migrate from Niv to Flakes
It's annoying to have two incompatible version managers.
2023-07-14 19:21:55 +12:00
adisbladis
3f72aebfae Redefine Github Actions in Nix using nix-github-actions 2023-07-12 17:45:39 +12:00
adisbladis
11b4de721e tests: Skip broken tests 2023-07-12 15:42:37 +12:00
Phillip Cloud
eaef3a49f2
fix: update rpds-py hash for 0.8.10 release 2023-07-10 07:56:24 -04:00
Phillip Cloud
b14ff901d0
Patch cairocffi wheels and add tests for wheels and non-wheels 2023-07-06 10:21:41 -04:00
Victor Engmark
d83dbcd66d feat: Support pandas 2023-06-21 11:56:52 +12:00
Victor Engmark
addbd798eb fix: Support jupyterlab 4
While retaining jupyterlab 3 support.
2023-06-01 11:31:18 +12:00
adisbladis
6ad5ea8337
Merge pull request #1152 from jbgi/master
Add test for project that depends on pytest-metadata
2023-05-26 11:33:22 +12:00
Phillip Cloud
189d7a6cd6
test: add markdown-it-py wheel test 2023-05-20 05:59:20 -04:00
Jean-Baptiste Giraudeau
30e7c136ff
Fix failing pytest-metadata test with documented workaround 2023-05-03 15:46:59 +02:00
Jean-Baptiste Giraudeau
1fba06e536
Add failing test for project that depends on pytest-metadata 2023-05-03 15:43:13 +02:00
Yang, Bo
eb2a3bfcaa Address review feedback 2023-05-02 21:48:58 -07:00
Phillip Cloud
d3c2b280f5
chore: add tests back 2023-04-19 06:46:11 -04:00
Star Dorminey
529e36ffb0 Format. 2023-04-06 17:19:04 -07:00
Star Dorminey
f50b88aa02 Fix torchvision too. 2023-04-06 17:18:01 -07:00
Star Dorminey
b2421c957a Test works! 2023-04-06 16:44:31 -07:00
Star Dorminey
ebaafed0de Hrm, going to completely disable patchelf. 2023-04-06 16:27:16 -07:00
Star Dorminey
4bea1aaad6 Moo 2023-04-06 15:38:21 -07:00
K900
fb135081ec fix(flake): build poetry with correct poetry2nix 2023-04-05 10:06:33 +03:00
Victor Engmark
de242a31f2 fix: gitlint needs hatch-vcs
Looks like it must be kept in tandem with gitlint-core.
2023-03-30 11:25:29 +13:00
Victor Engmark
735a35e5c5 fix: Add hatch-nodejs-version to jupyter-ydoc >= 0.2.3
See
<https://github.com/jupyter-server/jupyter_ydoc/compare/v0.2.2...v0.2.3>.
2023-03-29 12:13:08 +13:00
Victor Engmark
58ecdc0365 test: Verify mutmut install
Requires #1084 to be fixed first.
2023-03-28 08:19:34 +13:00
Victor Engmark
8ca9ebb501 test: Verify JupyterLab build 2023-03-24 12:43:21 +13:00
Pegasust
654b3a8ed5 +module: fastapi-utils 2023-03-24 12:12:14 +13:00
Pegasust
d5cf5a4d75 +module: returns 2023-03-24 12:11:54 +13:00