Skip to content

Move optional dependencies from dev_requirements to pyproject.toml#239

Merged
FreddyFox892 merged 19 commits intomainfrom
FST/TomlUpdate
Sep 27, 2024
Merged

Move optional dependencies from dev_requirements to pyproject.toml#239
FreddyFox892 merged 19 commits intomainfrom
FST/TomlUpdate

Conversation

@FreddyFox892
Copy link
Copy Markdown
Contributor

No description provided.

@FreddyFox892
Copy link
Copy Markdown
Contributor Author

@hf-kklein ich verstehe nicht warum der auf einmal bei pylint meckert, vorallem auch die ganzen pylint disable sachen nicht frisst

Copy link
Copy Markdown
Contributor

@hf-kklein hf-kklein left a comment

Choose a reason for hiding this comment

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

DEr untershceid scheint ja zu sein, dass die installation über

pip install .[foo]

anders als die installation über

pip install -r dev_requirements/foo-requirements.txt

teile des build prozesses durchläuft, wobei dieses version file angelegt wird. wie du das umgehst und warum das bei anderen packages kein problem ist 🤷‍♂️ das weiß ich leider nicht. vergleichende CI-Wissenschaften FTW?

Comment thread pyproject.toml Outdated
Comment on lines +76 to +77
[tool.pylint."MASTER"]
ignore = ["src/ebdamame/version.py"]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

was ist denn das? du hast die datei doch selbst angelegt in diesem PR? wenn sie nicht da wäre, müsstest du sie auch nicht ignorieren ;)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

edit: so leicht ist es nicht. #240 selbst wenn man die datei wieder entfernt, wird sie beim installarierne der optionalen dependencies trotzdem angelegt und führt dann hinten raus zu problemen.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@FreddyFox892
Copy link
Copy Markdown
Contributor Author

ähnliches problem haben wir auch hier
https://github.com/Hochfrequenz/cutover-tool/pull/690

Comment thread pyproject.toml
Comment on lines +89 to +91
template = '''
version = "{version}"
'''
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@hf-kklein ich glaube dass ding sorgt dafür dass dir die formatierung gerettet wird

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Erkenntnisse aus den Vergleichenden Ci-Wissenschaft, da war das selbe linter problem im catover tool aber ohne formatting problems^^

Comment thread tox.ini
black . --check
isort . --check

[testenv:spell_check]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

wenn wirihn hier einführen, können wir ihn im nächsten PR auch verwenden in der ci?

@FreddyFox892 FreddyFox892 merged commit 8d82d6d into main Sep 27, 2024
@FreddyFox892 FreddyFox892 deleted the FST/TomlUpdate branch September 27, 2024 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants