Commit graph

115 commits

Author SHA1 Message Date
adisbladis
b6b02d7fc2 Add test for utf8 (emoji) in pyproject.toml 2022-02-05 18:38:57 +12:00
adisbladis
c667bfa529 Skip failing tests on darwin
And fix scikit-learn on darwin.
2022-01-22 20:01:07 +12:00
adisbladis
f4dcab7362 Add assorted-pkgs test
I intend to add smaller test cases here that are not big enough to warrant their own tests.
2022-01-20 10:04:25 +12:00
adisbladis
a032307edd Add extended cross test 2022-01-19 18:59:50 +12:00
adisbladis
9b5fba1b71 Fix cross compilation and add cross test 2022-01-19 04:35:12 +12:00
adisbladis
d214b36911 Inherit test cases from nixpkgs
These packages uses poetry2nix and we can use them for regression testing.
2022-01-18 22:18:00 +12:00
adisbladis
ff4c1b9068 Fix file deps test 2022-01-18 21:06:29 +12:00
adisbladis
8078110a7f Reformat all Python code using Black 2022-01-12 18:48:06 +13:00
adisbladis
6e5bdfb5b1 tests: Add test for IFD projectDir 2022-01-11 10:16:02 +13:00
Phillip Cloud
2fde8725f6
test: add failing aiopath test 2021-12-29 12:34:32 -05:00
adisbladis
7f019e5c5d tests.manylinux: Fix test 2021-12-26 02:15:03 -08:00
adisbladis
4574e00819 tests.common-pkgs-2: Bump matplotlib
Which is not compatible with python 3.9
2021-12-26 01:21:47 -08:00
adisbladis
8b6d7f7c4f Fix operators test
typed-ast broke cpython compat with python 3.9
2021-12-25 22:40:10 -08:00
adisbladis
d5f756b8e5 Break out awscli to it's own separate test
Solving the test environment for common-pkgs-2 is taking forever, we
can make it a lot easier by splitting out awscli to it's own test.
2021-12-25 22:25:51 -08:00
adisbladis
f00e96064e Fix ansible-molecule test 2021-12-25 21:55:18 -08:00
adisbladis
10dbbb7405 ansible-molecule: Update test dependencies 2021-12-25 21:55:18 -08:00
adisbladis
2c63047ee1 Run nixpkgs-fmt after the nixpkgs bump 2021-12-25 21:55:18 -08:00
Phillip Cloud
2f325da8ec
fix: add missing runCommand 2021-12-22 14:04:07 -05:00
Phillip Cloud
3cbe79b23e
test: actually run the test 2021-12-22 14:03:59 -05:00
Phillip Cloud
4aaff20614
fix: patch jq to remove requests and depend on upstream jq 2021-12-22 14:01:26 -05:00
Phillip Cloud
144f884a5b
poetry2nix: regen lock file 2021-11-08 08:39:15 -05:00
Phillip Cloud
7191e51bd7
common-pkgs-2: don't install argparse if >= 2.7 2021-11-08 08:38:55 -05:00
Phillip Cloud
47dac9d9e4
common-pkgs-2: lock cryptography to 3 2021-11-08 08:38:33 -05:00
Phillip Cloud
5a3bfdf4f9
common-pkgs-2: remove unused comment 2021-11-08 08:23:51 -05:00
Phillip Cloud
2fed7bc910
pip: remove restriction 2021-11-08 08:07:04 -05:00
Alex Chalk
cf08f95e1e
test: Call tests 2021-10-04 16:22:11 -05:00
Alex Chalk
d81656e5d0
test: Add uwsgi tests 2021-10-04 16:22:11 -05:00
Phillip Cloud
38c2f51e85
pytest-randomly: failing test 2021-09-16 11:41:38 -04:00
Victor Engmark
9cbcc4a0e1 tests: Add in test
Tests the change in commit 203fb43910.
2021-08-30 13:43:44 +12:00
adisbladis
0039be3910
tests.git-deps-pinned: Regenerate poetry2nix overlay 2021-08-11 18:10:29 -05:00
Utku Demir
69b4b56384
Add test-case for matplotlib 2021-07-20 21:19:30 +12:00
Niels Kristian Lyshøj Jensen
aa111b9ac2
Add tests for local file packages 2021-07-10 13:40:33 +02:00
Tom Sydney Kerckhove
2938150771 remove obsolete circleci config 2021-06-26 10:01:50 +02:00
Tom Sydney Kerckhove
b66fcd00c5 Regression test 2021-06-26 10:00:05 +02:00
Antoine Eiche
28fba9f743
Add support to the legacy Pypi API
Some private repositories (such as Devpi) expose the legacy Pypi
API (https://warehouse.pypa.io/api-reference/legacy.html).

This commit adds a dedicated fetcher which basically queries this API
to get the URL pointing to the actual file.

Since Pypi still exposes this API, it has been possible to write a
test that uses this legacy API.

Fixes https://github.com/nix-community/poetry2nix/issues/277.
2021-06-01 16:25:29 -05:00
adisbladis
4b651e043e
Merge pull request #304 from andir/fetch-api
Always fallback to querying the Pypi API when the predicted URL 404s
2021-06-01 16:14:37 -05:00
sireliah
90d4c8e8a6
Allow the package extras to contain dashes in name 2021-05-27 10:56:33 +02:00
Andreas Rammhold
7113a96c35
Add MarkupSafe2 test case
This test case is what initially motivated the move towards Pypi API
based fallback fetching.
2021-05-13 21:48:04 +02:00
sireliah
d157bd2605
Extract the requiredPythonModules from current Python 2021-03-17 15:29:37 +01:00
sireliah
74ab8c6274
Document dependency changes 2021-03-12 13:40:32 +01:00
sireliah
55ae3ee9c6
Bump Python version to 3.8 in the mk-poetry-packages test 2021-03-12 12:53:39 +01:00
sireliah
3c651c6455
Reformat mk-poetry-packages test 2021-03-12 11:32:35 +01:00
sireliah
41de3f2afc
Make mkPoetryPackages return nested dependencies 2021-03-12 09:59:33 +01:00
adisbladis
b63e5e22c8
re-enable pyqt test 2021-02-21 11:57:24 +01:00
adisbladis
3ffd5f7389
Pin nixpkgs in tests
I've had enough with nixpkgs breakage affecting our tests...
2021-02-21 11:54:33 +01:00
adisbladis
c3b6684ddc
Temporarily disable pyqt test
This was broken by external changes in nixpkgs, lets disable it
temporarily to get the CI green on pull requests and then fix it.
2021-02-21 11:43:28 +01:00
K900
324cc0cb2a Fix stdenv.platform accesses for latest nixpkgs
This fixes builds being completely broken after:
* https://github.com/NixOS/nixpkgs/pull/110726
* https://github.com/NixOS/nixpkgs/pull/110544

This also fixes poetry2nix on ARM and PowerPC platforms by introducing a
mapping from Nixpkgs targets to manylinux_* machine names and using it
when matching wheels for dependencies.
2021-01-30 20:17:54 +03:00
Phillip Cloud
9321f57657 tests: enable manylinux test 2021-01-14 12:52:57 -05:00
adisbladis
18a77a95cd
!! 2020-11-30 19:28:07 +01:00
adisbladis
c0c6038262
Fix tests
Something upstream broke a lot of python37 packages and I'm not
interested in debugging this.
2020-11-30 19:27:48 +01:00