Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3Packages: format with nixfmt #313628

Merged
merged 3 commits into from
May 22, 2024
Merged

Conversation

mweinelt
Copy link
Member

@mweinelt mweinelt commented May 22, 2024

Description of changes

People have started reformatting individual packages with nixfmt, so a treewide change should get rid of that review churn.

Also, we're at an ideal point to sneak in a reformat, when we consider backports from master to release.

If this causes rebuilds, we'll need to identify those and postpone.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added 6.topic: python 6.topic: policy discussion 6.topic: jupyter Interactive computing tooling: kernels, notebook, jupyterlab labels May 22, 2024
@kirillrdy
Copy link
Member

Result of nixpkgs-review pr 313628 run on x86_64-linux 1

4 packages built:
  • python311Packages.waitress-django
  • python311Packages.waitress-django.dist
  • python312Packages.waitress-django
  • python312Packages.waitress-django.dist

@infinisil
Copy link
Member

The @NixOS/nix-formatting team wasn't planning on doing any large reformats just yet, because the formatter isn't stable yet, but it is indeed a good time for it.

The team will try to make a decision on this in time and merge it if ready.

@mweinelt
Copy link
Member Author

mweinelt commented May 22, 2024

🤔

diff --git a/pkgs/development/python-modules/waitress-django/default.nix b/pkgs/development/python-modules/waitress-django/default.nix
index fad82f4952ce..925f37df7487 100644
--- a/pkgs/development/python-modules/waitress-django/default.nix
+++ b/pkgs/development/python-modules/waitress-django/default.nix
@@ -1,4 +1,9 @@
-{ lib, buildPythonPackage, django, waitress }:
+{
+  lib,
+  buildPythonPackage,
+  django,
+  waitress,
+}:
 
 buildPythonPackage {
   pname = "waitress-django";
@@ -6,7 +11,10 @@ buildPythonPackage {
   format = "setuptools";
 
   src = ./.;
-  pythonPath = [ django waitress ];
+  pythonPath = [
+    django
+    waitress
+  ];
   doCheck = false;
 
   meta = with lib; {
- /nix/store/vg9g8l1k4az9n4hrwr3hxcpslydsbl61-python3.11-waitress-django-1.0.0.drv:{out}
+ /nix/store/yx5ig3lhizrx95ag7yvsn8p2cfv4gyy8-python3.11-waitress-django-1.0.0.drv:{out}
• The input source named `waitress-django` differs
• The environments do not match:
    src=''
    -/nix/store/cc95i27n77zij2m52246ylgf9fakm18f-waitress-django
    +/nix/store/pyn8sxz49a939a75mm78bgghl9dmjmsr-waitress-django
'

So very cool, that we have the whole input in nixpkgs.

waitress-django/default.nix
waitress-django/setup.py
waitress-django/src/
waitress-django/src/waitress-serve-django

@mweinelt
Copy link
Member Author

mweinelt commented May 22, 2024

The default.nix becomes part of the src = ./., which causes the package rebuild.

I don't think this is a relevant blocker.

@infinisil
Copy link
Member

#301014

@mweinelt
Copy link
Member Author

Eval looks fine, going to push the .git-blame-ignore-revs and the waitress-django source cleanup.

@@ -46,6 +46,7 @@ jobs:
NIX_FMT_PATHS_VSCODE_EXTS: pkgs/applications/editors/vscode/extensions
NIX_FMT_PATHS_PHP_PACKAGES: pkgs/development/php-packages
NIX_FMT_PATHS_BUILD_SUPPORT_PHP: pkgs/build-support/php
NIX_FMT_PATHS_PYTHON_PACKAGES: pkgs/development/python-modules
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a little bit problematic for directories that frequently get PRs with new files, because those files are not formatted properly yet and would break master when merged

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that the overall situation is unfortunate, but maybe this is less bad than having people reformat every file individually as they touch it?

Copy link
Member Author

@mweinelt mweinelt May 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What I understand from this is:

  • The CI action does not check new files in a PR
  • The CI action will notice wrong formatting once merged into master, and subsequentl fail

Is that anything that can be sorted out in a reasonable timeframe? While Python is a very busy package set, other consumers of the CI action are surely dealing with that issue as well.

Copy link
Member Author

@mweinelt mweinelt May 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd be fine with deferring the CI action for now, but going for the treewide reformat. I think that would get rid of most of the churn and your concerns about the CI action.

@infinisil
Copy link
Member

infinisil commented May 22, 2024

A concrete but minor problem is that because NixOS/nixfmt#201 (and potentially more like that) isn't merged yet (and more cases could exist), not all empty lines are preserved as the RFC specified. So formatting with the current version "loses" a bit of information

@mweinelt
Copy link
Member Author

mweinelt commented May 22, 2024

That kind of information loss doesn't sound too concerning to me. What I'm more concerned is, is the amount of churn. Have you seen the number of conflicting files? So the reformat is actually already happening.

2101d569c7af python311Packages.automate-home: format with nixfmt
844d52a299f8 python311Packages.skybellpy: format with nixfmt
d916ccc8470a python312Packages.unifi-discovery: format with nixfmt
f571160ef672 python312Packages.amcrest: format with nixfmt
4b5413d9b329 python312Packages.tololib: format with nixfmt
5be9282033be python312Packages.webdriver-manager: format with nixfmt
ce98385ced47 python312Packages.weconnect-mqtt: format with nixfmt
54f21fa4a026 python312Packages.boiboite-opener-framework: format with nixfmt
8f4b9c287f60 python312Packages.alpha-vantage: format with nixfmt
e3210f038872 python312Packages.pyoppleio: format with nixfmt
06beba13000e python312Packages.crc16: format with nixfmt
773847fb13b6 python312Packages.atomiclong: format with nixfmt
964fb46db077 python312Packages.nanoleaf: format with nixfmt
cf87d9f9b078 python312Packages.dyn: format with nixfmt
fe783b3d8c94 python312Packages.lacuscore: format with nixfmt
cfbbf54f8943 python312Packages.lmtpd: format with nixfmt
24bf93ba213d python312Packages.yapf: format with nixfmt
f6a9c1fede7d python312Packages.pycookiecheat: format with nixfmt
9f9610c3140b python312Packages.lnkparse3: format with nixfmt
a1f4cd311387 python312Packages.crownstone-cloud: format with nixfmt
f0f3609dd587 python312Packages.crownstone-sse: format with nixfmt
fc4e93e2ee61 python312Packages.colormath: format with nixfmt
a066405ce11c python312Packages.hyrule: format with nixfmt
2b2ccb78165b python312Packages.hy:format with nixfmt
0fc78b936e98 python312Packages.stickytape: format with nixfmt
ea50ab34f64d python311Packages.piep: format with nixfmt
e9208d701c2f python312Packages.azure-mgmt-security: format with nixfmt
7d37713f0b7e python312Packages.python-telegram-bot: format with nixfmt
6c8bca0541dc python311Packages.biopandas: format with nixfmt
150d2b9c76bf python311Packages.pycron: format with nixfmt
ccad6d8360ea python312Packages.pydiscovergy: format with nixfmt
dbfa5b3135c2 python311Packages.cufflinks: format with nixfmt
ac9dc2867f88 python312Packages.lmxf: format with nixfmt
9211484ec35e python312Packages.nomadnet: format with nixfmt
038aa8460b3c python312Packages.pbs-installer: format with nixfmt
d16fcc59e612 python312Packages.cssselect2: format with nixfmt
b51ff963a048 python312Packages.pycomposefile: format with nixfmt
ea99f7121466 python312Packages.gehomesdk: format with nixfmt
46b41b0c2c45 python312Packages.urwid: format with nixfmt
9929a6bb3bde python311Packages.ibm-cloud-sdk-core: format with nixfmt
708d255c12e2 python311Packages.ibm-watson: format with nixfmt
23fa60a52593 python311Packages.python-engineio: format with nixfmt
8c656077f844 python312Packages.azure-storage-file-share: format with nixfmt
49c2a98d1147 python312Packages.influxdb-client: format with nixfmt
362c7c7fc077 python312Packages.pillow-jpls: format with nixftm
9b078778daa9 python312Packages.garth: format with nixfmt
c557f4b5064c python312Packages.ha-mqtt-discoverable: format with nixfmt
2817556719a3 python312Packages.borb: format with nixfmt
ee3eb65c1bea python311Packages.karton-core: format with nixfmt
a14d0471a77e python312Packages.character-encoding-utils: format with nixfmt
fdddf3251a56 python312Packages.google-cloud-compute: format with nixfmt
11fb14f79b8f python312Packages.plexapi: format with nixfmt
9db58e6a8f99 python312Packages.foobot-async: format with nixfmt
dcab6ab9b3e7 python312Packages.moviepy: format with nixfmt
61acf32683b2 python312Packages.msgraph-core: format with nixfmt
3156917d2368 python311Packages.openhomedevice: format with nixfmt
50f037060472 python312Packages.looseversion: format with nixfmt
223d5bf1ea01 python311Packages.mortgage: format with nixfmt
5825d19dbedb python311Packages.llama-index-llms-ollama: format with nixfmt
ab8373bf628e python312Packages.pynmea2: format with nixfmt
3dbac594158c python312Packages.heudiconv: format with nixfmt
aba3b8455534 python312Packages.dcmstack: format with nixfmt
fb19b3d72360 python312Packages.pybids: format with nixfmt
2423109d7fdd python311Packages.summarytools: format with nixfmt
12ba07f728f6 python311Packages.django-import-export: format with nixfmt
bde92aee46e7 python312Packages.niapy: format with nixftm
cefc7f029e63 python312Packages.raincloudy: format with nixfmt
c28748ef965d python312Packages.isoweek: format with nixfmt
a00b196f102e python312Packages.pytransportnswv2: format with nixfmt
bd90e5fd2866 python312Packages.pyipp: format with nixfmt
08f4097b66ce python312Packages.pycognito: format with nixfmt
3ff8c33235d1 python312Packages.snitun: format with nixfmt
8d0e57b24890 python312Packages.slack-bolt: format with nixfmt
a62284352d76 python312Packages.slack-sdk: format with nixfmt
91d584a6b7db python312Packages.reolink-aio: format with nixfmt
35c2a278c54a python312Packages.stdlibs: format with nixfmt
141409fa5dab python312Packages.pgspecial: format with nixfmt
e3d12429927e python312Packages.langchain-text-splitters: format with nixfmt
25a86627a289 python312Packages.peewee: format with nixfmt
c96c68836c5d python312Packages.dataclasses-json: format with nixfmt
5f505aa616a3 python312Packages.types-ujson: format with nixfmt
b9d2d424ac7f python311Packages.gotailwind: format with nixfmt
8510fcad4c1d python312Packages.pinecone-client: format with nixfmt
e43d3eb92f70 python312Packages.localzone: format with nixfmt
4eeb3f366191 python312Packages.cvelib: format with nixfmt
24de62e0ec3b python312Packages.llama-parse: format with nixfmt
47286902c10d python312Packages.datauri: format with nixfmt
38f4409623d5 python312Packages.aioairq: format with nixfmt
b8b69c7cee90 python312Packages.argilla: format with nixfmt
ece1819ea0f9 python311Packages.tabula-py: format with nixfmt
ad1468bf958f python311Packages.pyezviz: format with nixfmt
d0b66542a231 python312Packages.losant-rest: format with nixfmt
023334724b98 python312Packages.rtsp-to-webrtc: format with nixfmt
81c837e44818 python312Packages.uptime: format with nixfmt
2ff878b4bed5 python312Packages.pytapo: format with nixfmt
bd1b3a4f7a4b python312Packages.pvlib: format with nixfmt
5e1e2d1f3f56 python3121Packages.asyncwhois: format with nixfmt
d9b9268a1b1b python311Packages.pylint: format with nixfmt
3ac42f62c70e pygame-sdl2: reformat with nixfmt-rfc-style, modernize
f500ab7ac2e6 python312Packages.pyfaidx: format with nixfmt
a284111fb893 python312Packages.youless-api: format with nixfmt
decabdd08b93 python312Packages.ytmusicapi: format with nixfmt
3cec89fc615d python312Packages.ical: format with nixfmt
2c4139d45ef0 python312Packages.aiocoap: format with nixfmt
fefdaf80fe33 python311Packages.androidtvremote2: format with nixfmt
6024fafb6c48 python312Packages.pynws: add changelog to meta
a966d523d947 python312Packages.drf-spectacular: format with nixfmt
5c1d3a46c851 python312Packages.dj-rest-auth: format with nixfmt
f3bf21db3248 python312Packages.unittest-xml-reporting: format with nixfmt
d17ed378edca python312Packages.pyannote-pipeline: format with nixfmt
0313582186c6 python312Packages.language-data: format with nixfmt
e24bc0e085b3 python312Packages.gemfileparser: format with nixfmt
964f774eeb81 python312Packages.oemthermostat: format with nixfmt
9e51cb7a10d8 python312Packages.openwrt-ubus-rpc: format with nixfmt
528792096670 python312Packages.m2crypto: format with nixfmt
1e88b22aaf3f python312Packages.noiseprotocol: format with nixfmt
7251e4804b70 python312Packages.naturalsort: format with nixfmt
b69b3c14a632 python312Packages.nanomsg-python: format with nixfmt
c234e8bbcf76 python312Packages.nanotime: format with nixfmt
f89e81edcb55 python312Packages.nats-python: format with nixfmt
94e8c64a8788 python312Packages.html2text: format with nixfmt
2a2f741d6143 python312Packages.hikvision: format with nixfmt
d9a809c202be python312Packages.hjson: format with nixfmt
454a5f23d61f python312Packages.coordinates: format with nixfmt
926ca7b9ccd3 python312Packages.command-runner: format with nixfmt
970884ecf14d python312Packages.tesla-fleet-api: format with nixfmt
22312bf8f0fc python312Packages.adext: format with nixfmt
f051260ea085 python312Packages.apprise: format with nixfmt
3b87eaf7bf43 python312Packages.pyinsteon: format with nixfmt
fa030ff6a541 python312Packages.pyrainbird: format with nixfmt
60bc6308c8a5 python312Packages.trafilatura: format with nixfmt
f48baca2a3e3 python312Packages.courlan: format with nixfmt
01701d1a13f8 python312Packages.html-text: format with nixfmt
5a4d5de5dc43 python312Packages.mechanize: format with nixfmt
5f5a15d03743 python311Packages.malduck: format with nixfmt
b246b903a1b9 python312Packages.minidb: format with nixfmt
9fe845fc0386 python312Packages.bloodyad: format with nixfmt
019e635da19d python312Packages.fastbencode: format with nixfmt
b7dec5b1735d python312Packages.pyomo: format with nixfmt
38db716fa3c4 python312Packages.thriftpy2: format with nixfmt
cb74aacd1b6a python312Packages.pyexploitdb: format with nixfmt
7f62917b4538 python312Packages.asyncio-dgram: format with nixfmt
bc9e5ecab47f python312Packages.total-connect-client: format with nixfmt
0d56eb432941 python311Packages.meilisearch: format with nixfmt
4157ec3ea604 python31{1,2}Packages.duckduckgo-search: format with nixfmt-rfc-style
ddd40b4e0881 python3Packages.intbitset: reformat with nixfmt-rfc-style
8d17aaf69060 napari: format with nixfmt
9343603eae4f python311Packages.superqt: format with nixfmt
a99f6f04f074 python311Packages.napari-console: format with nixfmt
2ddef55de9ac Merge pull request #309044 from fabaff/bellows-bump
184839dd8e27 python312Packages.pyannote-database: format with nixfmt
72113d5e1f43 python312Packages.pyannote-core: format with nixfmt
61706d2720bd python312Packages.bellows: format with nixfmt
312c697e2b63 python312Packages.peco: format with nixfmt
5f117828241c python312Packages.adafruit-platformdetect: format with nixfmt
04d9c552b8a6 python312Packages.resend: format with nixfmt
883eafa3a412 python312Packages.homematicip: format with nixfmt
378345e8ffd8 python312Packages.dbus-fast: format with nixfmt
b22ba0ead9e7 python312Packages.app-model: format with nixfmt
74dcc05e0b59 python312Packages.aliyun-python-sdk-kms: format with nixfmt
13472345563f python312Packages.wktutils: format with nixfmt
96d18bf71b2e python312Packages.json-schema-for-humans: format with nixfmt
ffd0198c413d python312Packages.fuzzytm: format with nixfmt
93e545b27141 python312Packages.fakeredis: format with nixfmt
43cc6801e302 python312Packages.rokuecp: format with nixfmt
2a972db12d0f python312Packages.pylutron: format with nixfmt
af9e03d31e8f python312Packages.file-read-backwards: format with nixfmt
3063c3206912 python312Packages.dissect: format with nixfmt
26b997060d38 python312Packages.dissect-cobaltstrike: format with nixfmt
7e20be4d9860 python311Packages.dissect-evidence: format with nixfmt
e7afd61c4367 python311Packages.dissect-evidence: format with nixfmt
ac0f84ce7e47 python311Packages.dissect-executable: format with nixfmt
db0eecc0868a python311Packages.dissect-fat: format with nixfmt
6980707fe86b python311Packages.dissect-ffs: format with nixfmt
5ecb8bae52b2 python311Packages.dissect-hypervisor: format with nixfmt
72bcb3cdd8ff python311Packages.dissect-ole: format with nixfmt
45ac46487218 python311Packages.dissect-sql: format with nixfmt
b8ebece3df5a python311Packages.dissect-shellitem: format with nixfmt
9ed3661e75ee python311Packages.dissect-squashfs: format with nixfmt
6a80592c0dec python312Packages.dissect-thumbcache: format with nixfmt
e7b448afadd5 python312Packages.dissect-xfs: format with nixfmt
da555de3a35c python311Packages.dissect-cstruct: format with nixfmt
557f5eaf7fd5 python311Packages.dissect-clfs: format with nixfmt
9b01bcf0d321 python311Packages.dissect-cim: format with nixfmt
6457221e8840 python311Packages.flow-record: format with nixfmt
93529a15bd76 python312Packages.kasa-crypt: format with nixfmt
8ec4b563b1c0 python312Packages.python-keycloak: format with nixfmt
83c02e39a57d python311Packages.fastcore: format with nixfmt
dec1629c3dfd python311Packages.python-tado: format with nixfmt
0d94a8820b48 python312Packages.bthome-ble: format with nixfmt
81a0bc040ee8 python312Packages.aiomisc-pytest: format with nixfmt
e82ddf6eda17 python312Packages.winacl: format with nixfmt
1eb80bce6da6 python312Packages.pyjson5: format with nixfmt
5a9fabb4ecef python311Packages.scikit-bio: format with nixfmt
a96f5b3439f1 python312Packages.cyclonedx-python-lib: format with nixfmt
b9a3f504ce03 python311Packages.execnb: format with nixfmt
d2a6274b847f python312Packages.rns: format with nixfmt
f26d0eb6ff38 python312Packages.xiaomi-ble: format with nixfmt
1c6ab3bfc3bf python312Packages.speechrecognition: format with nixfmt
103154fe3ec8 python312Packages.azure-mgmt-containerservice: format with nixfmt
cfbc2999cb81 python312Packages.wsgidav: format with nixfmt
e5a8b8d6fc39 python312Packages.casa-formats-io: format with nixfmt
2408658fc1b7 python312Packages.mypy-protobuf: format with nixfmt-rfc-style
0fd633a1a7fd python312Packages.types-beautifulsoup4: format with nixfmt
b3404644aaef python312Packages.cryptoparser: format with nixfmt
6be65abaa9ed python312Packages.emv: format with nixfmt
2fec59fee99d python312Packages.pyscard: format with nixfmt
e0098c24907c python312Packages.click-spinner: format with nixfmt
0f3bf95b8d00 python312Packages.gipc: format with nixfmt
a5dc01f1dd8f python311Packages.oracledb: format with nixfmt
cdb49c94adb7 python311Packages.py-zabbix: format with nixfmt
3d380959903b python312Packages.webexteamssdk: format with nixfmt
5f345fdffc07 python312Packages.puremagic: format with nixfmt
f9e7b448127a python312Packages.roadtx: format with nixfmt
ad6582c96dd0 python312Packages.airthings-ble: format with nixfmt
dbb9bdf420f0 python312Packages.roadlib: format with nixfmt
c2ea4283a98b python312Packages.heatzypy: format with nixfmt
54b74b21c32f python312Packages.logilab-common: format with nixfmt
624ceb79f78e python312Packages.pyftpdlib: format with nixfmt
d987921c24d8 python312Packages.pysendfile: format with nixfmt
d7d078e8e5e3 python312Packages.hstspreload: format with nixfmt
a993ce9f923b python312Packages.pywaze: format with nixfmt
33369e894c0f python312Packages.stix2-patterns: format with nixfmt
b03bb1e0faeb python312Packages.polyswarm-api: format with nixfmt
455be5c8bcf0 python311Packages.htseq: format with nixfmt
c5ce8636b900 python312Packages.chromadb: format with nixfmt
0fc80ae1910c python312Packages.linknlink: format with nixfmt
d6a42937b51c python312Packages.msoffcrypto-tool: format with nixfmt
91af1971af85 python312Packages.aiowinreg: format with nixfmt
7e2df24c9f3b python312Packages.elkm1-lib: format with nixfmt
a204e783155e python312Packages.aiomysensors: format with nixfmt
24a885603192 python311Packages.ldfparser: format with nixfmt
14f41feb166b python312Packages.pipdeptree: format with nixfmt
127f395108c4 python312Packages.sqlmodel: format with nixfmt
6c41cbcd5729 python312Packages.rich-click: format with nixfmt
2289c4950d46 python312Packages.pyotgw: format with nixfmt
5e8c2e9b344c python312Packages.http-sf: format with nixfmt
3e189c2b0d14 python312Packages.typeshed-client: format with nixfmt
a2ad4b5d70c5 python312Packages.typed-settings: format with nixfmt
7679a71d5c02 python312Packages.twill: format with nixfmt
892323fac6cb python312Packages.weaviate-client: format with nixmft
f9240363509f python312Packages.parquet: format with nixfmt
ef3f03f77a27 python312Packages.watchdog-gevent: format with nixfmt
eb6917ed3818 python312Packages.instructor: format with nixfmt
a3e549cec115 python312Packages.anthropic: format with nixfmt
e324187f330a python312Packages.google-cloud-spanner: format with nixfmt
8a14e18f5efa python312Packages.google-cloud-monitoring: format with nixfmt
70e0283206f3 python312Packages.anova-wifi: format with nixfmt
ac71da659057 python312Packages.pytest-json-report: format with nixfmt
431ffac613a0 python312Packages.pydash: format with nixfmt
3338f0f58af3 python312Packages.govee-local-api: format with nixfmt
6387603e093b python312Packages.aiogram: format with nixfmt
d2899e6e1e40 python312Packages.aiocsv: format with nixfmt
a0dc0759dad5 Revert "python312Packages.scmrepo: format with nixfmt"
4d7b8fffd7e0 Revert "python311Packages.dvclive: format with nixfmt"
c504d300b727 python312Packages.aiovodafone: format with nixfmt
c21d362df9a2 python312Packages.python-whois: format with nixfmt
7a772ebe3d96 python312Packages.pysigma: format with nixfmt
c31ddf170884 python312Packages.pyrisco: format with nixfmt
9b268baa7ba1 python312Packages.potentials: format with nixfmt
4565925a480b python312Packages.ollama: refactor
ab6032f43a4f python311Packages.dvclive: format with nixfmt
596f33317f5d python312Packages.scmrepo: format with nixfmt
6ed283340429 python312Packages.pymatgen: format with nixfmt
eba7be3db973 python311Packages.cdcs: format with nixfmt
df708ff63f6b python311Packages.pysigma-backend-elasticsearch: format with nixfmt
81a9ab2ea09c python311Packages.zwave-js-server-python: format with nixfmt
cbad46708703 python311Packages.neo4j: format with nixfmt
791a26e6f44f python312Packages.llama-index-indices-managed-llama-cloud: format with nixfmt
c7167317863c python312Packages.llama-index-embeddings-openai: format with nixfmt
92901cdeba24 python312Packages.azure-mgmt-frontdoor: format with nixfmt
40f606058569 python311Packages.google-cloud-secret-manager: format with nixcfmt
4f462d1cda69 python311Packages.azure-mgmt-recoveryservicesbackup: format with nixfmt
94dc06833900 python312Packages.dropmqttapi: format with nixfmt
2dc07317199c python312Packages.google-cloud-asset: format with nixfmt
e7a31e0c3720 python312Packages.yamale: format with nixfmt
7896b277df0e python312Packages.django-tastypie: format with nixfmt
349a536c536a python312Packages.nebula3-python: format with nixfmt
426f0b377f8c python312Packages.govee-ble: format with nixfmt
c9a3a3870e4f python311Packages.azure-mgmt-compute: format with nixfmt
eca2675dba16 python311Packages.id: format with nixfmt
93c62e38b952 python311Packages.meross-iot: format with nixfmt
610fb1b026b3 python311Packages.stone: format with nixfmt
1d81f66f1c12 python312Packages.aiomultiprocess: format with nixfmt
0db8c9ed502e python312Packages.aiolyric: format with nixfmt
2b531277a452 python311Packages.aiopegelonline: format with nixfmt
80ad1d77acba python312Packages.psrpcore: format with nixfmt
8776a735784f python312Packages.deebot-client: format with nixfmt
5639d22cf703 python312Packages.azure-cosmos: format with nixfmt
738e6665050f python312Packages.aioeagle: format with nixfmt
8748ff8ae8b2 python312Packages.onetimepass: format with nixfmt
7a4f45d7cf88 python312Packages.timecop: format with nixfmt
ad26d5df1acd python312Packages.influxdb: format with nixfmt
31748b91a2c1 python311Packages.awswrangler: format with nixfmt
10cf59f9a189 python312Packages.crc: format with nixfmt
4945c0d38567 python311Packages.pydrawise: format with nixfmt
c50d0c558f41 python312Packages.pick: format with nixfmt
f2059c619d5e notus-scanner: format with nixfmt
576b9e6eaf35 python312Packages.levenshtein: format with nixfmt
1cd9327dc47b python312Packages.model-bakery: format with nixfmt
75b43a467ed0 python312Packages.ovoenergy: format with nixfmt
f6fff778b236 python312Packages.aranet4: format with nixfmt
3e81edee3c9f python312Packages.ondilo: format with nixfmt
2418a1bdb1fb python312Packages.nettigo-air-monitor: format with nixfmt
7377ee13d05b python312Packages.nextdns: format with nixfmt
96859836d473 python311Packages.qtile-extras: format with nixfmt
813b8e0ca28a python312Packages.pulsectl-asyncio: format with nixfmt
7429e993a701 python312Packages.asteval: format with nixfmt
6539631a844e python312Packages.influxdb3-python: format with nixfmt
4528b9e725fb python312Packages.vt-py: format with nixfmt
7423442c1657 python312Packages.plugwise: format with nixfmt
e3ad273ffbf0 python311Packages.pysolcast: format with nixfmt
2ab35f2aaf74 python312Packages.camel-converter: format with nixfmt
6cec50eeb0c8 python312Packages.apkinspector: format with nixfmt
8b42c3f4a738 python312Packages.bluetooth-auto-recovery: format with nixfmt
ae9a721adad4 python312Packages.accuweather: format with nixfmt
539d3bce2350 python312Packages.aiodiscover: format with nixfmt
444887d0482f python312Packages.aiounifi: format with nixfmt
ca78e3d77f26 python312Packages.google-cloud-bigquery: format with nixfmt
0e37b071387c python312Packages.aiozeroconf: format with nixfmt
8f86496f70b6 python311Packages.llama-index-cli: format with nixfmt
d69c3bd75146 python312Packages.broadlink: format with nixfmt
3a1b73777752 python312Packages.lsassy: format with nixfmt
92bd0da0a11c python312Packages.jsonargparse: format with nixfmt
d9e19c19d7ef python311Packages.types-aiobotocore: format with nixfmt
5c2437c53d3e python311Packages.types-awscrt: format with nixfmt
bc46ba538e30 python311Packages.google-cloud-bigquery-datatransfer: format with nixfmt
7aef871d8e2d python312Packages.google-api-python-client: format with nixfmt
a2e5edc136bb python311Packages.dvc: format with nixfmt
cd839afeed51 python312Packages.yfinance: format with nixfmt
34966fa09840 python312Packages.reuse: format with nixfmt
77502bb56ecc python311Packages.nats-py: format with nixfmt
5d6600423984 python311Packages.sigstore: format with nixfmt
6568eccf17c4 python312Packages.betterproto: format with nixfmt
b4e8b0ff296e python312Packages.grpclib: format with nixfmt
a6a45ac1575b python311Packages.securesystemslib: format with nixfmt
6702cf1f7379 python311Packages.ed25519: format with nixfmt
287c7aea9909 python312Packages.ifconfig-parser: format with nixfmt
57a4d93bc190 python311Packages.toggl-cli: format with nixfmt
13b336328d06 python312Packages.validate-email: format with nixfmt
051a88a36aef python312Packages.aliyun-python-sdk-core: format with nxfmt
4e96fb5b2333 python312Packages.asyncstdlib: format with nixfmt
047bcae4573d python311Packages.google-cloud-bigtable: format with nixfmt
bd8e6984e550 python312Packages.mkdocs-material: format with nixfmt
46b289ab1e4a python312Packages.griffe: format with nixfmt
4a4d98d96195 python312Packages.soco: format with nixfmt
7dbcdd7b465f python312Packages.ansicolor: refactor
490494e82dee python312Packages.simplekv: format with nixfmt
7f6b573df9d2 python312Packages.attrdict: format with nixfmt
8931710805cf python311Packages.azure-appconfiguration: format with nixfmt
6de29df16523 python311Packages.types-redis: format with nixfmt
637722d59bdf python312Packages.pylitterbot: format with nixfmt
4801ec1d5b35 python312Packages.pytest-aio: format with nixfmt
b542a3f147c3 python312Packages.playwrightcapture: format with nixfmt
100654623a4a python312Packages.llama-index-readers-s3: format with nixfmt
ab40cb6eba7c python312Packages.boto3-stubs: format with nixfmt
468109d4f7ec python312Packages.schema-salad: format with nixfmt
cb99251ab29d python312Packages.hishel: format with nixfmt
b416c3227cd0 python312Packages.digital-ocean: format with nixfmt
e147a1472b3d python312Packages.publicsuffix: format with nixfmt
5244ff28146d python312Packages.publicsuffix2: format with nixfmt
87c6aa9f544d python312Packages.riscv-config: format with nixfmt
13251c32947e python312Packages.batinfo: format with nixfmt
c9d195fd7d9c python312Packages.aioasuswrt: format with nixfmt
06d8f3e3b8c8 python312Packages.aioeafm: format with nixfmt
8cdf8ea4ba4d python312Packages.pybotvac: format with nixfmt
c057f8f2badd python312Packages.junos-eznc: format with nixfmt
84a50dcf5260 python312Packages.gekko: format with nixfmt
fd7880beecc9 python312Packages.htmldate: format with nixfmt
3c96eb56e196 python312Packages.snakemake-interface-common: format with nixfmt
d76ef7a057d3 python312Packages.flask-paginate: format with nixfmt
b97489f0d249 python312Packages.dsnap: format with nixfmt
8f0e4dbb0b29 python312Packages.aiortm: format with nixfmt
7a599203ed82 python312Packages.cwl-utils: format with nixfmt
9de6ca85c9e3 python311Packages.clarifai-grpc: format with nixfmt
d10683ac2429 python312Packages.pyftdi: format with nixfmt
200c034c85d1 python312Packages.std-uritemplate: format with nixfmt
00822db219fa python312Packages.bc-detect-secrets: format with nixfmt
b5e88b7ad02c python312Packages.sievelib: format with nixfmt
ad5b7186b066 python312Packages.asf-search: format with nixfmt
53f191b808a2 python312Packages.exchangelib: format with nixfmt
4f51994509b6 python312Packages.es-client: refactor
b99c9b718844 python312Packages.elastic-apm: format with nixfmt
7db70a7b687d python312Packages.pytest-bdd: format with nixfmt
156e0d081275 python312Packages.bring-api: format with nixfmt
cf6c4e59fb57 python312Packages.pubnub: format with nixfmt
871d80c872f6 python312Packages.dvc-render: format with nixfmt
513bb9b52f81 python312Packages.sqlmap: format with nixfmt
fe1bedbd902c python312Packages.sentry-sdk: format with nixfmt
8a36964ecf41 python312Packages.pytenable: format with nixfmt
2f85c76e07fc python312Packages.appthreat-vulnerability-db: format with nixfmt
52f123b158a0 python312Packages.credstash: format with nixfmt
87ce0c4fc76c python312Packages.ajsonrpc: format with nixfmt
47b06b6872c9 python312Packages.azure-mgmt-kusto: format with nixfmt
955f206cc495 python312Packages.azure-synapse-spark: format with nixfmt
a59f11bb5218 python312Packages.azure-synapse-managedprivateendpoints: format with nixfmt
758deff945ff python312Packages.azure-synapse-accesscontrol: format with nixfmt
9f77c758dbe6 python312Packages.azure-multiapi-storage: format with nixfmt
0a0a7a12b9d1 python312Packages.azure-mgmt-synapse: format with nixfmt
100ec36577b0 python312Packages.azure-mgmt-sqlvirtualmachine: format with nixfmt
cd4f9d4bfe13 python312Packages.azure-mgmt-managedservices: format with nixfmt
1bda2cf4a95b python312Packages.azure-mgmt-hdinsight: format with nixfmt
962952fd7e44 python312Packages.azure-mgmt-extendedlocation: format with nixfmt
7718e586104d python312Packages.azure-mgmt-deploymentmanager: format with nixfmt
598ba7fb545d python312Packages.azure-mgmt-databoxedge: format with nixfmt
c9bbedab2491 python312Packages.azure-mgmt-botservice: format with nixfmt
d1d7c64acbb0 python312Packages.azure-mgmt-appconfiguration: format with nixfmt
b97d0b369d66 python312Packages.azure-mgmt-apimanagement: format with nixfmt
3025317a394e python312Packages.llama-index-multi-modal-llms-openai: format with nixfmt
3991ad9d8776 python312Packages.bleak-retry-connector: format with nixfmt
502eff17df7a python312Packages.zha-quirks: format with nixfmt
48448f4405d5 python312Packages.xmlschema: format with nixfmt
bdac71697566 python312Packages.meshtastic:format with nixfmt
d037ae232e2b python311Packages.angrop: format with nixfmt
2dd22d526522 python311Packages.cle: format with nixfmt
d7361d9da927 python311Packages.claripy: format with nixfmt
d3606244daa0 python311Packages.archinfo: format with nixfmt
376df0333ec9 python311Packages.angr: format with nixfmt
8849930598be python311Packages.ailment: format with nixfmt
919cbfa5dce9 python312Packages.pytelegrambotapi: format with nixfmt
d030ba37a4cc python312Packages.molecule: format with nixfmt
b7ef007f7bda python312Packages.python-roborock: format with nixfmt
c0154061868b python312Packages.pymodbus: format with nixfmt
090ee63bebad python312Packages.google-generativeai: format with nixfmt
3614a1b2455a python312Packages.google-cloud-securitycenter: format with nixfmt
1ad7046bcfef python312Packages.clarifai: format with nixfmt
a1fd75525752 python312Packages.mkdocstrings-python: format with nixfmt
1a387379ac18 python312Packages.reptor: format with nixfmt
0a7fb613f2e8 python312Packages.aio-pika: format with nixfmt
d0990954e02a python311Packages.mkdocstrings: format with nixfmt
67729a808a92 python312Packages.pyfibaro: format with nixfmt
1a4dc94d1e30 python312Packages.velbus-aio: format with nixfmt
0ae677448661 Merge pull request #299324 from fabaff/axis-bump
bebdac46ff83 python312Packages.orbax-checkpoint: format with nixfmt
8a9b30ede7dc python312Packages.pyquil: format with nixfmt
cea4300422d1 python312Packages.qcs-sdk-python: format with nixfmt
4940de59aa96 python312Packages.quil: format with nixfmt
a4ae3e6c20a7 python312Packages.qcs-api-client: format with nixfmt
b0367c24704e python312Packages.axis: format with nixfmt
b1b67f4c98d8 python312Packages.xknxproject: format with nixfmt
4af12b60c4f1 python312Packages.llama-index-embeddings-google: format with nixfmt
b77c03e09cbf python312Packages.llama-index-embeddings-gemini: format with nixfmt
17f8a3757875 python311Packages.whirlpool-sixth-sense: format with nixfmt
3576571ca760 python312Packages.reconplogger: format with nixfmt
53342ebf9242 python312Packages.ping3: format with nixfmt
152d684fbf6c python312Packages.b2sdk: format with nixfmt
f1b8ec7b340d python312Packages.aiolifx: format with nixfmt
7c5fe7a652dd python312Packages.garminconnect: format with nixfmt
8bfc15f1ceaa python312Packages.yolink-api: format with nixfmt
5c319e2eb593 python312Packages.twilio: format with nixfmt
e90f9dfd460b python312Packages.whispers: format with nixfmt
28a00f8e585e python312Packages.oras: format with nixfmt
add9bb4beafd python312Packages.tencentcloud-sdk-python: format with nixfmt
14447b49fdce python312Packages.sse-starlette: format with nixfmt
44f7c4cac1f8 python312Packages.semver: format with nixfmt
b7b759af7d6d python312Packages.aiopvapi: format with nixfmt
926848d9abf7 python311Packages.types-docutils: format with nixfmt
beb14048944b python312Packages.pynobo: format with nixfmt
aabb62d73e61 python312Packages.mitogen: format with nixfmt
3882105d91b3 python312Packages.gorilla: format with nixfmtx
c7eec0a250c0 python312Packages.pyduotecno: format with nixfmt
338e473ba85c python312Packages.audio-metadata: format with nixfmt
29b245311813 python312Packages.tbm-utils: format with nixfmt
ed3d62c04cdb python312Packages.hickle: format with nixfmt
7ce68d26528b python312Packages.protego: format with nixfmt
a8973c413ce4 python312Packages.lmcloud: format with nixfmt
2dc00727848d python312Packages.aiolifx-themes: format with nixfmt
0b7d864b2a93 python311Packages.pprintpp: format with nixfmt
cbda8e782833 python311Packages.pyads: format with nixfmt
1c696df1050a python312Packages.pylibftdi: format with nixfmt
42c1fe797789 python311Packages.mmengine: format with nixfmt
08498b536660 python312Packages.querystring-parser: format with nixfmt
c1e579ce60a8 python312Packages.s3-credentials: format with nixfmt
f40fdf8c3c34 python312Packages.requirements-parser: format with nixfmt
891025a8a069 python312Packages.google-cloud-pubsub: format with nixfmt
581f195dfa02 python312Packages.snowflake-connector-python: format with nixfmt
e5476f2ea63f python312Packages.llama-index-core: format with nixfmt
9b2579aa21ad python312Packages.dirigera: format with nixfmt
ffd81766ce9e python312Packages.qdrant-client: format with nixfmt
bd314109c66e python312Packages.ring-doorbell: format with nixfmt
d0698b4090a3 python312Packages.langchain: format with nixfmt
6f5bb2b137bf python312Packages.langsmith: format with nixfmt
d4c5adb20209 python312Packages.langchain-community: format with nixfmt
43ba67614024 python312Packages.langchain-core: format with nixfmt
6e0d21275d35 python312Packages.teslajsonpy: format with nixfmt
9f4e4be21bc3 python312Packages.peaqevcore: format with nixfmt
226517435ee0 python312Packages.llamaindex-py-client: format with nixfmt
ecd51f18db4b python312Packages.llama-index-vector-stores-postgres: format with nixfmt
6c688e659af1 python312Packages.llama-index-agent-openai: format with nixfmt
ec706c6b7d22 python312Packages.openai: format with nixfmt
a2ab67087973 python312Packages.hass-nabucasa: format with nixfmt
9cba104ad4bb python312Packages.elementpath: format with nixfmt
95c741d78ab7 python312Packages.pytest-testinfra: format with nixfmt
2e78aed28d29 python312Packages.ansible-pylibssh: format with nixfmt
f53d82884796 python312Packages.py-serializable: format with nixfmt
8ee2d481ea18 python311Packages.pynetdicom: format with nixfmt
e3ed84832650 python312Pacakges.arsenic: format with nixfmt

@mweinelt mweinelt merged commit 37d23f4 into NixOS:master May 22, 2024
6 of 7 checks passed
@mweinelt mweinelt deleted the python-nixfmt branch May 22, 2024 15:58
@fabaff
Copy link
Member

fabaff commented May 23, 2024

For the record:

Changes like this should be scheduled in advance, especially during ZHF. Now, we have probably over a 100 merge conflicts in open PRs (not all ZHF-related, though) on our hands which could have been easily avoided.

@piegamesde
Copy link
Member

piegamesde commented May 23, 2024

All of this could easily have been avoided if people could stand still for a bit and await coordination, instead of starting to drive-by format files one by one. I take co-responsibility for these merge conflicts, and I remain convinced that doing this was the less bad option.

@infinisil
Copy link
Member

infinisil commented May 23, 2024

@piegamesde In our team processes we document that non-trivial decisions need to be done by at least two team members, please honor that.

And indeed the RFC documents that formatting should happen before the branch-off, this wasn't honored either (Edit: it was, my fault).

It's definitely not great to have this much churn though, I wasn't aware of this, I wish the formatting team was pinged more for that.

@mweinelt
Copy link
Member Author

And indeed the RFC documents that formatting should happen before the branch-off, this wasn't honored either.

Why are you saying this wasn't honored? It was merged 4 minutes before the start of the branch-off meeting. I was even clearing it up with Weija on the call.

@infinisil
Copy link
Member

Ah sorry! I wasn't aware of that, and didn't properly check it myself (just compared the time of the branch-off announcement against the merge time of this PR).

I guess it doesn't make sense for this to be reverted at this point. Personally I don't have a lot of time to help with that now, I was expecting this to be done only at the next release.

@mweinelt
Copy link
Member Author

mweinelt commented May 23, 2024

The strategy to rebase conflicting changes is:

  • run nixfmt-rfc-style on your changes
  • git commit --amend
  • git rebase origin/master

Running the reformat first will reduce the chance for conflicts significantly.

@infinisil infinisil mentioned this pull request May 28, 2024
7 tasks
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/formatting-team-meeting-2024-05-28/46126/1

@infinisil infinisil mentioned this pull request May 28, 2024
13 tasks
imincik added a commit to imincik/geospatial-nix that referenced this pull request Jun 6, 2024
imincik added a commit to imincik/geospatial-nix that referenced this pull request Jun 6, 2024
imincik added a commit to imincik/geospatial-nix that referenced this pull request Jun 6, 2024
imincik added a commit to imincik/geospatial-nix that referenced this pull request Jun 6, 2024
imincik added a commit to imincik/geospatial-nix that referenced this pull request Jun 6, 2024
imincik added a commit to imincik/geospatial-nix that referenced this pull request Jun 6, 2024
@getchoo getchoo mentioned this pull request Jul 4, 2024
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: jupyter Interactive computing tooling: kernels, notebook, jupyterlab 6.topic: python 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

7 participants