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

Change poe tasks naming #604

Merged
merged 1 commit into from
Feb 8, 2023
Merged

Change poe tasks naming #604

merged 1 commit into from
Feb 8, 2023

Conversation

lucekdudek
Copy link
Contributor

@lucekdudek lucekdudek commented Jan 17, 2023

Initial gole of this PR was to bump goth's dependencies so it is possible to use click>=8 (dependency of mitmproxy and black). Unfortunately, goth yields unexpected errors when using mitmproxy>=7. I ended up with bumping versions slightly. As a result click>=8 is still not supported.

What has been done:

  • Moved flake8 configuration from .flake8 to pyproject.toml (this required flak8 bump to ^5)
  • Added flake8 extend codes to ignore
  • Bumped mitmproxy to ^6
  • Unified naming of tool.poe.tasks so they match other golemfactory python project (including github workflows configurations)
  • Updated poetry.lock
  • Bump mypy to newer version - poe checks_typing yields the same warning on both versions
  • Added separated issue for bumping mitmproxy more: Bump mitmproxy version to ^8 #605

yapapi compatibility test
golemfactory/yapapi#1093


Edit: After yapapi compatibility test we decided to not upgrade mitmproxy at all and only merge changes to poe tasks and dev packages upgrade

pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
Copy link
Collaborator

@shadeofblue shadeofblue left a comment

Choose a reason for hiding this comment

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

looks okay, but @approxit 's comments still stand

@lucekdudek lucekdudek changed the title Bump mitmproxy; change poe tasks naming Change poe tasks naming Jan 27, 2023
Copy link

@approxit approxit left a comment

Choose a reason for hiding this comment

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

Also I can see poetry.lock in repo, which currently is not included in VCS across SDK libraries.

goth/runner/download/__init__.py Outdated Show resolved Hide resolved
goth/runner/download/__init__.py Outdated Show resolved Hide resolved
goth/runner/log_monitor.py Outdated Show resolved Hide resolved
goth/runner/probe/__init__.py Show resolved Hide resolved
goth/runner/probe/__init__.py Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
Copy link
Collaborator

@shadeofblue shadeofblue left a comment

Choose a reason for hiding this comment

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

lgtm

@lucekdudek
Copy link
Contributor Author

Also I can see poetry.lock in repo, which currently is not included in VCS across SDK libraries.

It always has .lock so we can keep it as for now

@lucekdudek lucekdudek merged commit 6a4ae44 into master Feb 8, 2023
@lucekdudek lucekdudek deleted the ld/bump-mitmproxy-and-black branch March 13, 2023 11:56
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.

None yet

3 participants