Commit Graph

29 Commits

Author SHA1 Message Date
Fabian Affolter
b42738b028 python311Packages.autopep8: add patch to ignore deprecation warnings 2023-01-26 12:00:16 +01:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Martin Weinelt
5bfc071b3c python3Packages.autopep8: 2.0.0 -> 2.0.1 2023-01-05 01:08:52 +01:00
Lily Foster
058d817fd4 python3Packages.autopep8: patch for pycodestyle-2.10.0
This adjusts autopep8 to fetch from GitHub so it can be patched (patch does not
apply cleanly to PyPI source tarball), and a test that had to be disabled
because it was fetched from PyPI is re-enabled since it could work now (and as
far as I understand, pulling from git is generally preferred for Python
packages in nixpkgs for test reasons).

This lets the package now build successfully with the recent pycodestyle 2.10.0
bump.
2022-12-13 08:28:01 +01:00
R. Ryantm
cb3339b842 python310Packages.autopep8: 1.7.1 -> 2.0.0 2022-11-23 12:28:29 +01:00
Bjørn Forsman
798c76ea13 python3Packages.autopep8: replace toml with tomli
Looks like this change is needed to avoid breaking a part of autopep8:

* d0836947df
* https://github.com/hhatto/autopep8/releases/tag/v1.7.1

Suggested-by: @SFrijters
2022-11-23 10:04:28 +01:00
R. Ryantm
13d7f66b0e python310Packages.autopep8: 1.7.0 -> 1.7.1 2022-10-28 08:44:50 +02:00
Martin Weinelt
9595c927ab python3Packages.autopep8: 1.6.0 -> 1.7.0 2022-09-18 23:57:34 +02:00
Jonathan Ringer
40c3ecafda
python3Packages.autopep8: 1.5.7 -> 1.6.0 2021-11-30 18:48:35 -08:00
R. RyanTM
49c8421f10 python38Packages.autopep8: 1.5.6 -> 1.5.7 2021-05-08 15:31:24 -07:00
Frederik Rietdijk
435b5b17e6 python3Packages.autopep8: 1.5.5 -> 1.5.6 2021-04-03 17:48:19 +02:00
Frederik Rietdijk
2d207dfe91 python3Packages.autopep8: 1.5.4 -> 1.5.5 2021-02-26 11:01:40 +01:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
R. RyanTM
ebc728507c python27Packages.autopep8: 1.5.3 -> 1.5.4 2020-08-02 20:18:07 +00:00
Frederik Rietdijk
b928bbeeee python.pkgs.autopep8: fixup build 2020-06-11 10:00:25 +02:00
Frederik Rietdijk
00952e12c8 python: autopep8: 1.5.2 -> 1.5.3 2020-06-06 08:34:48 +02:00
R. RyanTM
1fbb393143 python27Packages.autopep8: 1.5.1 -> 1.5.2 2020-05-04 21:06:42 +02:00
R. RyanTM
7cfd7367c1 python27Packages.autopep8: 1.5 -> 1.5.1 2020-04-15 17:22:02 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Frederik Rietdijk
aa681d9cdb python: autopep8: 1.4.4 -> 1.5 2020-02-09 09:17:31 +01:00
Frederik Rietdijk
c4d7f94780 python: autopep8: 1.4.3 -> 1.4.4 2019-04-18 12:42:39 +02:00
Frederik Rietdijk
8d0519e44f python: autopep8: 1.4.2 -> 1.4.3 2018-12-03 16:50:39 +01:00
Frederik Rietdijk
02bf0e5896 python: autopep8: 1.3.5 -> 1.4.2 2018-11-11 09:48:24 +01:00
Frederik Rietdijk
ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00
Bjørn Forsman
6ba7677665 pythonPackages.autopep8: 1.3.4 -> 1.3.5 2018-03-31 20:35:00 +02:00
Frederik Rietdijk
806fb76b37 python: autopep8: 1.3.3 -> 1.3.4 2018-02-03 17:43:29 +01:00
Bjørn Forsman
41b89d1577 pythonPackages.autopep8: 1.0.4 -> 1.3.3
The pep8 package is renamed to pycodestyle and autopep8 references the
new name.

(Also, fetchurl -> fetchPypi.)
2017-10-29 22:35:16 +01:00
Bjørn Forsman
36ff83402a pythonPackages.autopep8: move to python-modules/ 2017-10-29 22:34:01 +01:00