Commit graph

205 commits

Author SHA1 Message Date
Andy Mroczkowski
9dd1584c89 overrides: add ncurses for gnureadline
test command:
```
nix-build --attr gnureadline --keep-going --show-trace tests/default.nix
```

before:
```
  ld: library not found for -lncurses
  clang-11: error: linker command failed with exit code 1
(use -v to see invocation)
  error: command '/nix/store/sa6hywsm1mqfyd1xakyzv4ljjsb3h
awh-clang-wrapper-11.1.0/bin/clang' failed with exit code
1
  error: subprocess-exited-with-error
```

after:
- Success!
2024-01-28 09:21:32 -05:00
Phillip Cloud
7129305eb4
fix(pyodbc): manually add search path for unixODBC shared libs on Linux 2024-01-11 06:18:07 -05:00
Andrew Marshall
eec895af5d overrides/scipy: Fix on >=1.11.1
The setup.py file is gone in newer versions.

See also
- https://github.com/nix-community/poetry2nix/issues/1476
- 04f3147a8e
2024-01-04 17:07:50 -05:00
Victor Engmark
b76e91da74 test: import and run black 2023-12-21 01:40:10 +13:00
Phillip Cloud
f37ca715c9
fix(colour): remove addition of d2to1 to build inputs 2023-12-11 05:26:58 -05:00
adisbladis
d734eac98c
Merge pull request #1398 from Pegasust/orjson
Support orjson 3.9+ by switching to fetching from GitHub and use `Cargo.lock`
2023-12-06 11:51:19 +13:00
Albert Peschar
9e41338d41 overrides: use poetry-core for pylint-django 2.5.4+ 2023-12-06 11:50:46 +13:00
Albert Peschar
c819fba790 overrides: add cattrs 23.2+ 2023-11-25 03:30:55 +13:00
Pegasust
7fa648dad3 Merge remote-tracking branch 'canon/master' into _orjson 2023-11-11 22:37:10 -08:00
ZerataX
bf0601d5d9 ruff: add override 2023-11-07 14:49:58 +13:00
Pegasust
42e2db1157 test(orjson): orjson integration test across seemingly supported versions 2023-11-05 19:11:22 -08:00
adisbladis
0302506b15 tests.fiona-wheel: Only execute on linux 2023-11-02 22:41:31 +13:00
adisbladis
d3bd930cbf tests.pyarrow-wheel: Only execute on linux 2023-11-02 22:41:31 +13:00
adisbladis
177fad817a
Merge pull request #1298 from Pegasust/wheel-url-support
Add wheel url support
2023-10-29 01:28:48 +13:00
Phillip Cloud
da235c761e
fix: compose overlays 2023-10-28 07:42:05 -04:00
Albert Peschar
1a26b00f31
overrides: add pytest-redis 2023-10-28 07:06:19 -04:00
Albert Peschar
1bc274e89c
overrides: add mailchimp3 2023-10-28 07:06:17 -04:00
Phillip Cloud
7208f5a33e
test: add python markers test 2023-10-28 06:33:24 -04:00
adisbladis
ef4e605bc6 Use PEP440 version conditions from pyproject.nix 2023-10-27 13:37:58 +13:00
Phillip Cloud
63f51bf85c
chore: add gobject-introspection test 2023-10-26 08:46:31 -04:00
Phillip Cloud
2d29b1692e
Merge pull request #1356 from considerate/considerate/pyside6 2023-10-26 07:54:44 -04:00
Viktor Kronvall
e8082072c6 pyside6: test that it builds 2023-10-26 19:36:03 +09:00
Viktor Kronvall
b443a678f0 pyqt6: add override 2023-10-26 19:36:03 +09:00
Phillip Cloud
0decff62da
fix(awsume): set HOME to allow build to succeed 2023-10-26 06:05:15 -04:00
Phillip Cloud
209955539f
feat(plyvel): support building plyvel 2023-10-26 05:52:26 -04:00
pegasust
583d2bfe34
test: integration test for whl url - nlp task with specific model 2023-10-26 05:18:13 -04:00
adisbladis
40192db77c
Merge pull request #1339 from l0b0/build/arrow-1-3-0
build: Arrow 1.3.0
2023-10-26 16:30:59 +13:00
Anders Kaseorg
65ab8f0aab Respect subdirectory from poetry.lock when fetching sources
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2023-10-26 16:08:53 +13:00
Victor Engmark
1a0869c771 build: Arrow 1.3.0
Motivated by the fact that >800 other packages in PyPI depend on this
one <https://www.wheelodex.org/projects/arrow/>.
2023-10-26 16:06:09 +13:00
Phillip Cloud
e3d8509a1e
fix(sphinx): get sphinx5+ working 2023-10-25 07:31:10 -04:00
Phillip Cloud
806eb84c20
chore: use poetry from upstream nixpkgs 2023-10-24 16:59:09 -04:00
Phillip Cloud
d5a2e6d133
test(manylinux): test wheels instead of building from source 2023-10-24 08:29:45 -04:00
Phillip Cloud
bad8f08a2c
test: patch test to use poetry-core 2023-10-24 08:29:42 -04:00
Phillip Cloud
c17f130f3b
test: get trivial test passing 2023-10-24 08:29:40 -04:00
Phillip Cloud
34278c0ffd
chore: remove dead import 2023-10-24 08:29:39 -04:00
Phillip Cloud
6bb62c6e4c
style: rename unused parameter 2023-10-24 08:29:37 -04:00
Phillip Cloud
363e85f29f
chore: clean up tests; disable broken ones 2023-10-24 08:29:33 -04:00
Phillip Cloud
e0351878f1
chore: checkpoint 2023-10-24 08:29:24 -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
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
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
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
Victor Engmark
952b7e3531 fix: Add cdk-nag setuptools dependency 2023-09-13 15:49:11 +12: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
5066b324b4
fix(rpds-py): ensure that wheel builds work 2023-07-16 08:44:11 -04:00