Commit graph

149 commits

Author SHA1 Message Date
adisbladis
a982fc6574
Merge pull request #779 from razielgn/fix-poetry-1-2-dev-deps-issue
fix: eval error on poetry 1.2 when a dev dependency is from git
2022-10-21 03:20:27 +13:00
Federico Ravasio
2523d030d2 fix: add deps to build scipy 1.9 2022-10-20 11:16:42 +00:00
Federico Ravasio
0bc09f58e7 fix: eval error on poetry 1.2 when a dev dependency is from git 2022-10-20 08:55:38 +00:00
Phillip Cloud
9ea1bcb876
fix builds by adding "typing" group to poetry-env-test 2022-10-18 08:35:43 -07:00
adisbladis
ff3fefee0f overrides: fix mypy build 2022-10-11 11:52:04 +13:00
adisbladis
916fa69e70 re-enable path-deps tests
they were accidentally disabled when debugging
2022-10-10 20:10:20 +13:00
Phillip Cloud
e59e1b7c6a
add support for specifying dependency groups that are checkPhase only 2022-10-09 07:34:47 -04:00
adisbladis
9499ece6fc
Merge pull request #746 from rszamszur/overrides-add-watchfiles
Overrides: add watchfiles
2022-10-09 15:03:02 +13:00
K900
673ba1f7cc treewide: another pile of assorted changes
- update pinned nixpkgs used for tests
- fix the rest of the setuptools fallout
- add and test some scientific packages
2022-10-09 11:33:01 +13:00
adisbladis
27d08a441d tests: bump pynixutil 2022-10-08 03:23:23 +13:00
adisbladis
2347698530 disable poetry-env test 2022-10-08 03:23:23 +13:00
adisbladis
71b88c30c4 tests.manylinux: hack test by removing numpy
it was broken for reasons outside of our control, let's hack it up to
get the test to pass.
2022-10-08 03:23:23 +13:00
adisbladis
81fb0b7233 overrides: add more build systems 2022-10-08 03:23:23 +13:00
adisbladis
c6bc243095 common-pkgs-2: disable matplotlib
it doesn't build any more because of toolchain changes
2022-10-07 23:30:49 +13:00
K900
33db1f30d0 feat: big messy refactoring
- normalize package names to match PEP-503
- don't assume build dependencies on setuptools{,-scm}
- automatically generate overrides for setuptools{,-scm}
- pull known build systems directly from nixpkgs
- fix a bunch of mostly unrelated warnings

Co-authored-by: Phillip Cloud <417981+cpcloud@users.noreply.github.com>
2022-10-06 19:54:08 +03:00
Radosław Szamszur
175def76d4 tests: add watchfiles test 2022-10-06 16:15:42 +02:00
Alex Chalk
60ef92b6b0 Add empty test file 2022-09-29 18:19:37 -04:00
Alex Chalk
fa52f5bd4b Add support for building bcrypt 4 (rust) 2022-09-29 15:20:50 -04:00
adisbladis
985092420a tests.pyqt5: Disable test
It takes 1.5hrs+ to complete from scratch on CI.
2022-09-22 19:06:23 +12:00
adisbladis
2081943793 Add support for Poetry >=1.2.0 dependency groups 2022-09-22 16:23:08 +12:00
adisbladis
787bc9e1b0 tests: Fix tests with Poetry 1.2.0 2022-09-22 16:13:15 +12:00
adisbladis
4b586ea0ab tests.pep600: Set a fixed python version (3.8) 2022-09-22 16:13:15 +12:00
adisbladis
2758358d60 Allow insecure packages in tests 2022-09-22 16:13:15 +12:00
adisbladis
02593b5345 Add test for package/env generated with Poetry 1.2.0 2022-09-22 16:13:15 +12:00
adisbladis
ab7c443dfc tests/path-deps-develop: reformat with nixpkgs-fmt 2022-09-02 01:37:48 +12:00
Phillip Cloud
030b9522dc
shapely: add test 2022-05-13 07:31:18 -04:00
adisbladis
2b56b8b77f overrides.pyqt5: Fix build with more recent QT versions 2022-05-13 20:18:18 +12:00
adisbladis
bcbeb8d0c4 tests.uwsgi: Comment out flaky test 2022-05-10 08:14:08 +12:00
adisbladis
c22f70a140 nixops_unstable: Skip test on darwin
It's broken in upstream nixpkgs, not our problem.
2022-05-05 07:52:28 +12:00
adisbladis
226ad319e6 tests: Set allowAliases = false
We don't want to accidentally end up with aliases in the code base
that then breaks nixpkgs when it's eventually incorporated.
2022-05-05 01:50:51 +12:00
Jairo Llopis
1baca43506
fix: support nullified editablePackageSources in mkPoetryEnv
See these docs: 99c7956835/README.md (L86)

They say that any dependency passed as `null` is forced to be non editable, even if it is marked as `develop = true` in `pyproject.toml`.

However, this was not being the case.

Added a test to prove the need for the fix.

@moduon MT-83
2022-04-14 09:29:55 +01:00
Sem Mulder
40e199d9d2 Disable PEP 600 test on MacOS
Because there is no open3d build for MacOS.
2022-03-29 09:59:19 +02:00
Sem Mulder
d687e93cb9 Add test for PEP 600 2022-03-28 23:49:29 +02:00
adisbladis
9d6a48c455 tests.assorted-pkgs: Add mypy test 2022-02-07 11:26:08 +12:00
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