Commit graph

77 commits

Author SHA1 Message Date
Robert Schütz
9d2eadaa3d python3Packages.astropy: 7.1.0 -> 7.1.1
Diff: https://github.com/astropy/astropy/compare/v7.1.0...v7.1.1

Changelog: https://docs.astropy.org/en/v7.1.1/changelog.html
2025-11-25 12:41:33 -08:00
Robert Schütz
8bc5341ba6 python3Packages.astropy: reduce test dependencies
In particular I don't want it to use pytest-cov. Since pytest-astropy
depends on that, we remove pytest-astropy and pick all dependencies of
pytest-astropy that are actually required.
2025-11-15 14:00:03 -08:00
Robert Schütz
2cdf5e15b4 python3Packages.astropy: add optional dependency uncompresspy 2025-11-15 12:26:22 -08:00
Martin Weinelt
952226dd8a
python3Packages.astropy: 7.0.1 -> 7.1.0
This commit was automatically generated using update-python-libraries.
2025-08-09 18:58:02 +02:00
Wolfgang Walther
5a0711127c
treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
nixpkgs-ci[bot]
7540ea811e
Merge staging-next into staging 2025-06-15 18:05:57 +00:00
Yueh-Shun Li
76e2a397c2 treewide: pytestFlagsArray -> pytestFlags and join flag and option argument
This treewide change targets Python packages
that specifies pytest flags with pytestFlagsArray,
and whose flags cannot be consructed by other pytestCheckHook-honoured arguments.

Use the __structuredAttrs-agnostic argument pytestFlags
instead of the deprecated pytestFlagsArray.

For flags with option arguments,
join each flag and their option argument into a single command-line argument
following POSIX Utility Argument Syntax[1]
for easier overriding (remove/replace).

Examples:

* [ "-W" "ignore:message:WarningClass" ] ->
  [ "-Wignore:message:WarningClass" ]

* [ "--reruns" "3" ] ->
  [ "--reruns=3" ]

[1]: https://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html
2025-06-16 01:02:16 +08:00
Vladimír Čunát
ddd342f476
python3Packages.astropy: fix tests by tweaked upstream patch
https://hydra.nixos.org/build/300052658/nixlog/1/tail
2025-06-15 17:29:45 +02:00
Martin Weinelt
b2f9bbcefc
python313Packages.astropy: drop conflicting patch 2025-04-04 13:56:31 +02:00
Martin Weinelt
1b59076ec0
python3Packages.astropy: 7.0.0 -> 7.0.1
This commit was automatically generated using update-python-libraries.
2025-04-03 23:12:03 +02:00
Peder Bergebakken Sundt
5aba99242e treewide: fix typos in comments
Made with

```shell
git restore .
fd '\.nix$' pkgs/ --type f -j1 -x bash -xc "$(cat <<"EOF"
    typos --no-check-filenames --write-changes "$1"
    git diff --exit-code "$1" && exit
    #( git diff "$1" | grep -qE "^\+ +[^# ]") && git restore "$1"
    count1="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> ' | wc -l )"
    count2="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> (<span style="color:#f8f8f2;"> *</span>)?<span style="color:#75715e;">.*</span>$' | wc -l )"
    [[ $count1 -ne $count2 ]] && git restore "$1"
EOF
)" -- {}
```

and filtered with `GIT_DIFF_OPTS='--unified=15' git -c interactive.singleKey=true add --patch`

I initially tried using the tree-sitter cli, python bindings and even ast-grep through various means, but this is what I ended up with.
2025-02-24 10:44:41 +01:00
Doron Behar
6608171e3b python310Packages.astropy: disable 2025-01-22 17:51:38 +02:00
Doron Behar
f83f1823de python312Packages.astropy: move stdenv argument above 2025-01-22 13:10:36 +02:00
Doron Behar
dda3145cbd python312Packages.astropy: Use 'ci' hypothesis-profile & reenable flaky tests 2025-01-22 13:10:36 +02:00
Reno Dakota
bba74a96d1
python313Packages.astropy: fix tests in darwin sandbox
__darwinAllowLocalNetworking = true; is required
2024-12-20 03:08:14 -08:00
Reno Dakota
37582d6019
python313Packages.astropy: fix clang build
Parts of the build compile with -Werror and the build also passes in
-fno-strict-overflow which generates an unused command line argument
warning which causes the build to fail when -Werror is present.

Add -Wno-error=unused-command-line-argument to ignore.
2024-12-20 01:45:02 -08:00
Martin Weinelt
ab434bac2f
python312Packages.astropy: 6.1.4-> 7.0.0
https://docs.astropy.org/en/stable/whatsnew/7.0.html
https://docs.astropy.org/en/stable/changelog.html#version-7-0-0-2024-11-21
2024-12-12 00:16:43 +01:00
natsukium
5bfacde24b
python312Packages.numpy: 1.26.4 -> 2.1.2 2024-11-18 18:36:49 +01:00
Martin Weinelt
d9a7c27035 python3Packages.astropy: 6.1.1 -> 6.1.4 2024-10-13 11:02:57 +02:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Doron Behar
abde345eca python3Packages.astropy: apply patch removing the usage of polyfill.io
`cdn.polyfill.io` is now considered to be a bad actor.

https://sansec.io/research/polyfill-supply-chain-attack

Disabled on more test that was flaky on my side.
2024-07-01 08:39:36 +03:00
Martin Weinelt
eb725d174c python3Packages.astropy: 6.0.1 -> 6.1.1 2024-06-24 12:14:43 +02:00
Martin Weinelt
59b1aef590
python3Packages: format with nixfmt 2024-05-22 17:32:03 +02:00
github-actions[bot]
110bd4dbee
Merge staging-next into staging 2024-04-05 06:01:46 +00:00
Doron Behar
6e3e787e0f python311Packages.astropy: Disable on Darwin a flaky test 2024-04-04 20:40:16 +03:00
Doron Behar
d9bb1b4ab9 python311Packages.astropy: Disable another flakey test
Fixes #300820
2024-04-04 12:58:58 +03:00
github-actions[bot]
2b35fa47dc
Merge staging-next into staging 2024-04-01 12:01:46 +00:00
R. Ryantm
f6d714ba00 python311Packages.astropy: 6.0.0 -> 6.0.1 2024-03-31 15:37:20 +00:00
Martin Weinelt
528354e66c
python312Packages.cython: 0.29.36 -> 3.0.9
Folds the cython_3 attribute into the primary cython attribute and
migrates all packages from the versioned attribute.

The old version will be provided through the cython_0 attribute in an
effort to phase it out.
2024-03-27 18:35:05 +01:00
annalee
8e038835fe
Merge remote-tracking branch 'upstream/master' into staging-next 2024-03-13 00:38:07 +00:00
Martin Weinelt
9db2f84f0a python311Packages.astropy: disable flaky test 2024-03-12 18:25:13 +01:00
natsukium
7bfbcf402f python311Packages.astropy: disable failing test 2024-03-12 18:25:10 +01:00
Doron Behar
4dc436efe4 python312Packages.astropy: disable a flaky tests
Fix #294392
2024-03-11 23:01:17 +02:00
Martin Weinelt
e154220693
python3Packages.astropy: 5.3.4 -> 6.0.0 2023-12-20 20:17:40 +01:00
Doron Behar
d6ac2df61d python3.pkgs.astropy: 5.3.3 -> 5.3.4 2023-10-06 12:32:08 +03:00
Doron Behar
221fbf1231 python3.pkgs.astropy: enable and fix tests.
Add some informatory comments, add doronbehar as maintainers, use `rec`
instead of `let ... in`, add `pythonImportsCheck` and `pytestCheckHook`,
use `cd $out` to handle issue
https://github.com/NixOS/nixpkgs/issues/255262
2023-09-16 17:40:19 +03:00
Doron Behar
18490c2caf python3.pkgs.astropy: 5.2.1 -> 5.3.3 2023-09-16 17:40:19 +03:00
Theodore Ni
38fcb28228
python3.pkgs.astropy: fix build dependencies 2023-08-19 09:51:14 -07:00
Martin Weinelt
0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00
Martin Weinelt
9d89940b03 python3Packages.astropy: 5.2 -> 5.2.1 2023-03-03 23:56:33 +01:00
Martin Weinelt
c7051552b9 python3Packages.astropy: 5.1 -> 5.2 2023-01-05 01:08:51 +01:00
Martin Weinelt
75354a0e9e python3Packages.astropy: 5.0.3 -> 5.1 2022-07-21 22:33:39 +02:00
Martin Weinelt
cf4064a416 python3Packages.astropy: 5.0.1 -> 5.0.3 2022-04-13 16:49:37 +02:00
Martin Weinelt
117eb5bfbf python3Packages.astropy: 5.0 -> 5.0.1 2022-03-14 00:28:49 +01:00
Martin Weinelt
7e0f3eac68 python3Packages.astropy: propagate pyyaml and packaging
and some refactoring.
2022-01-23 01:09:42 +01:00
Jonathan Ringer
b974e881da python3Packages.astropy: 4.3.1 -> 5.0 2022-01-23 01:09:04 +01:00
Martin Weinelt
f386939ca1
python3Packages.astropy: 4.2 -> 4.3.1 2021-11-02 22:21:25 +01:00
Sandro Jäckel
89d5f4b3d0
treewide: setuptools_scm -> setuptools-scm 2021-06-03 12:44:33 +02:00
Robert T. McGibbon
8df2e76984 python3Packages.astropy: unbreak 2020-12-28 15:16:21 -05:00
Frederik Rietdijk
656348a81d python3Packages.astropy: 4.0.3 -> 4.2 2020-12-01 14:44:09 +01:00