nixpkgs-ci[bot]
a85cdb9b1d
Merge master into staging-next
2025-06-09 06:06:13 +00:00
Peder Bergebakken Sundt
c92582fcbb
docs/language-frameworks/python: clarify how to best comment on disabled tests
2025-06-09 04:26:55 +02:00
nixpkgs-ci[bot]
dc23b83b01
Merge master into staging-next
2025-06-07 06:05:16 +00:00
Robert Schütz
7b39a05e07
docs/language-frameworks/python: don't test coverage etc
2025-06-06 09:34:11 -07:00
Martin Weinelt
033d93e793
python3: 3.12.10 -> 3.13.3
...
Updates the default Python version to 3.13 for the NixOS 25.11 release
cycle. We still keep recursing into python312Packages and
python313Packages.
2025-05-23 16:27:16 +02:00
Ihar Hrachyshka
9d2e92d78b
doc: Clarify that fetchPypi is not preferred for python
...
Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-05-09 20:26:22 -04:00
Martin Weinelt
8a43823c25
docs/language-frameworks/python: specify how to add non-python runtime deps ( #332792 )
2025-04-27 16:50:18 +02:00
Ihar Hrachyshka
8bf2436c01
doc/python: clarify `optional-dependencies' are only for explicit dep groups ( #377049 )
...
Some project may claim, in their README or otherwise, a particular library as
an optional dependency. But it doesn't make it one in the context of the
`optional-dependencies` derivation attribute.
2025-04-24 22:44:27 +02:00
Pol Dellaiera
540ddbcf2f
doc: use writableTmpDirAsHomeHook
2025-04-21 07:02:46 +02:00
Pol Dellaiera
bcea0cf344
doc: update Nix code snippets format
...
Command: `mdcr --config doc/tests/mdcr-config.toml doc/`
2025-04-17 01:30:34 +02:00
nixpkgs-ci[bot]
bd8d4dc802
Merge master into staging-next
2025-04-13 00:41:08 +00:00
Martin Weinelt
8e93fb0f32
python39: drop before the 25.05 branch-off
...
End of security support is scheduled for 2025-10-31, which does not cover
the complete 25.05 release cycle.
2025-04-13 01:26:42 +02:00
Yueh-Shun Li
bb76d74632
doc: python.section.md: partial rewrites for pytest and pytestCheckHook
...
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-03-23 23:51:17 +08:00
nixpkgs-ci[bot]
fe64053a45
Merge staging-next into staging
2025-01-20 06:05:33 +00:00
Ihar Hrachyshka
ebc7c89271
doc: Fix typo in python docs (extras_requires -> extras_require)
2025-01-19 15:14:56 -05:00
Yueh-Shun Li
8be69aee96
doc: python: elaborate the makeWrapperArgs behaviour
2025-01-09 18:36:39 +08:00
Yueh-Shun Li
1e8f39148a
unittestCheckHook: handle unittestFlagsArray __structuredAttrs
-agnostically
...
Take unittestFlags as the new and conforming interface.
Keep unittestFlagsArray as is.
2025-01-09 18:36:39 +08:00
Yueh-Shun Li
26f09762a8
pytestCheckHook: support __structuredAttrs
...
Add flag pytestFlags as the new, conforming interface
replacing pytestFlagsArray.
Stop Bash-expanding disabledTests and disabledTestPaths.
Handle disabledTestPaths with `pytest --ignore-glob <path>`
to keep globbing support.
Check if each path glob matches at least one path
using the `glob` module from the Python standard library.
Also make buildPythonPackage and buildPythonApplication
stop escaping the elements of disabledTests and disabledTestPaths.
2025-01-09 18:36:37 +08:00
FliegendeWurst
cd2a21a070
doc/python: update versions
2025-01-07 22:06:20 +01:00
Arne Keller
e4c9d406a0
doc/languages-frameworks/python: Reword section to make commit rules a bit clearer ( #339643 )
2024-12-09 06:53:44 +01:00
Martin Weinelt
8044c0cc0a
python314: init at 3.14.0a1
...
https://docs.python.org/3.14/whatsnew/changelog.html#python-3-14-0-alpha-1
2024-10-16 03:42:47 +02:00
Artturin
f678d0b777
treewide: replace stdenv.is
in non nix files ( #344342 )
2024-10-09 18:17:34 +03:00
Kirill Radzikhovskyy
d04c244c09
python3Packages.mkPythonEditablePackage: correct documentation
2024-10-07 13:39:29 +11:00
Artturin
8f3e655750
doc/python: correct platform conditional
2024-09-27 19:07:45 +03:00
Artturin
40799fc06d
treewide: replace stdenv.is
in non nix files
...
Continuing e0464e4788
2024-09-27 19:07:45 +03:00
adisbladis
de1fdc9fe0
python3Packages.mkPythonEditablePackage: init
2024-09-08 17:13:21 +12:00
Gavin John
00a43d7d03
doc/languages-frameworks/python: update references to python 3.12
2024-09-04 19:52:52 -07:00
Gavin John
3e2e5daab4
doc/languages-frameworks/python: Reword section to make commit rules a bit clearer
2024-09-04 19:52:24 -07:00
adisbladis
74eefb4210
doc/languages-frameworks/python: fix typos ( #322267 )
2024-09-01 15:35:33 +12:00
Colin
d6de00150e
doc/languages-frameworks/python: fix typos
2024-09-01 00:41:03 +00:00
adisbladis
93ff3f6b76
python3Packages.psycopg2-binary: Fix pname spelling
2024-08-30 15:25:36 +12:00
adisbladis
d3e7844bbc
python3Packages.psycopg2-binary: init at 2.9.9
...
Pscycopg2-binary is normally used in Python development to avoid having to build psycopg2 from source.
In nixpkgs we always want ot build from source whenever possible, but it can still be useful to provide a psycopg2-binary package.
This "fake" package exists to satisfy a dependency on psycopg2-binary, but still use the build from psycopg2.
cc @misuzu https://github.com/nix-community/pyproject.nix/issues/143
2024-08-30 11:05:29 +12:00
adisbladis
8cd58c7e14
python3Packages.mkPythonMetaPackage: init
...
This function exists create a meta package containing [metadata files](https://packaging.python.org/en/latest/specifications/recording-installed-packages/ ) to satisfy a dependency on a package, without it actually having been installed into the environment.
2024-08-30 00:24:31 +12:00
Martin Weinelt
0e1624df44
Merge remote-tracking branch 'origin/master' into staging-next
...
Conflicts:
- pkgs/development/python-modules/pycdio/default.nix
2024-08-11 03:10:34 +02:00
Doron Behar
38e8fe7e3f
doc/python: don't recommend all-packages.nix for Python applications
2024-08-07 12:02:11 +03:00
github-actions[bot]
3c2967ad03
Merge master into staging-next
2024-08-07 06:01:16 +00:00
OTABI Tomoya
6ff8fec735
Merge pull request #332784 from pbsds/doc-python-auto-remove-deps-hook-1722967990
...
docs/language-frameworks/python: pythonRemoveDepsHook is added automatically
2024-08-07 14:22:48 +09:00
Peder Bergebakken Sundt
bbfc8ef1e6
docs/language-frameworks/python: specify how to add non-python runtime deps
2024-08-06 20:28:35 +02:00
Peder Bergebakken Sundt
6488c3d438
docs/language-frameworks/python: update python{,2,3}Package aliases
2024-08-06 20:16:59 +02:00
Peder Bergebakken Sundt
ef70f7d028
docs/language-frameworks/python: pythonRemoveDepsHook is added automatically
2024-08-06 20:15:54 +02:00
Martin Weinelt
0b0dd33e0a
python312Packages.setuptoolsCheckHook: remove
...
The hook relied on the `test` command passed to `setup.py`, which has
long been deprecated and finally removed in setuptools 72.0.
2024-08-06 18:18:40 +02:00
Arnout Engelen
b2d53203f2
docs: show pyproject = true;
instead of format = "pyproject";
...
every other format is deprecated, so to imply that people should be setting it is misleading
(`pyproject = true` should also go away eventually, but is the way until
then)
2024-07-26 16:11:17 +02:00
Alexis Hildebrandt
ab42ca141a
doc: Remove indefinite article and ending period from example meta.description
...
so that meta.description examples shown in the documentation
align with recommendations given in the "Meta attributes" section
in pkgs/README.md.
The changes were made with the following commands:
nix run nixpkgs#silver-searcher -- -l0 'description\s*=\s*"([Aa]n?|[Tt]he)\s' doc \
| xargs -0 nix run nixpkgs#gnused -- -i '' -Ee '/description/s/"([Aa]n?|[Tt]he)\s(.)/"\U\2/'
nix run nixpkgs#silver-searcher -- -l0 'description\s*=\s*".*\."' doc \
| xargs -0 nix run nixpkgs#gnused -- -i '' -Ee '/description/s/\."/"/'
2024-07-20 09:18:42 +02:00
Martin Weinelt
58ca021599
docs/language-frameworks/python: update relaxDepsHook docs
2024-06-14 14:51:23 +02:00
natsukium
513573a582
doc/languages-frameworks/python: update contributing section
2024-06-04 09:02:05 +09:00
natsukium
b6bf10bf70
doc/languages-frameworks/python: adjust expression to explanation
2024-06-04 09:02:05 +09:00
natsukium
ef61a6339c
doc/languages-frameworks/python: normalize pname and add description
2024-06-04 09:02:05 +09:00
natsukium
a4d5b56448
doc/languages-frameworks/python: fix typo
2024-06-04 09:02:05 +09:00
natsukium
8f9e861543
doc/languages-frameworks/python: add extra information for pythonRelaxDepsHook
2024-06-04 09:02:05 +09:00
natsukium
1b4462bb0c
doc/languages-frameworks/python: clean up build-system
...
add setuptools explicitly and remove wheel
2024-06-04 09:02:04 +09:00