Commit graph

180 commits

Author SHA1 Message Date
Viktor Kronvall
b443a678f0 pyqt6: add override 2023-10-26 19:36:03 +09: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
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
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
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
Pegasust
9fda178ae4 +module: option 2023-03-24 12:11:54 +13:00
Victor Engmark
ad56f749f3 fix: gitlint-core 0.19 needs hatchling 2023-03-24 11:58:55 +13:00
adisbladis
b6e7b4e761 tests.pendulum: Skip on OSX 2023-03-24 00:54:50 +13:00
Pegasust
503c66ec2d +module: python-ubersmith 2023-03-14 16:32:11 -07:00