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

Conflicts in dependencies on macOS with flake8 #490

Closed
cbirkenbeul opened this issue Jan 27, 2022 · 3 comments
Closed

Conflicts in dependencies on macOS with flake8 #490

cbirkenbeul opened this issue Jan 27, 2022 · 3 comments

Comments

@cbirkenbeul
Copy link

cbirkenbeul commented Jan 27, 2022

Just tried to use your script but I got dependency issues on macOS 12

teqqy@teqqBook ~> python3 --version
Python 3.8.9
ERROR: Cannot install flake8==3.9.1 and pycodestyle==2.8.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested pycodestyle==2.8.0
    flake8 3.9.1 depends on pycodestyle<2.8.0 and >=2.7.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
@ChrisRBe
Copy link
Owner

ChrisRBe commented Jan 30, 2022

Hi @cbirkenbeul,

Thank you for reporting this issue. Could you tell me how you are installing the dependencies? Are you installing them via Pipfile or via requirements.txt?

Looking at current master, I can see that the requirements.txt file only updated for pycodestyle but flake8 is still on the previous version:

flake8==3.9.1

Could you check if you encounter any errors if you update flake8 here to 4.0.1 and then try installing the packages again?

@cschindlbeck
Copy link

bors bot added a commit that referenced this issue Apr 8, 2022
543: requirements.txt: solve dependency issues with flake8 r=ChrisRBe a=ChrisRBe

dependabot update at some point updated parts of the requirements.txt
file but did not update flake8 accordingly. This change should fix
this oversight. Hopefully.

This is only a temporary solution until such a time where the
requirements.txt is removed completely in favor of the pipfile.

Should solve issues reported in #540 and #490 

Co-authored-by: ChrisRBe <chrisrbe@outlook.com>
Co-authored-by: ChrisRBe <31167512+ChrisRBe@users.noreply.github.com>
@ChrisRBe
Copy link
Owner

ChrisRBe commented Apr 8, 2022

should be fixed.

@ChrisRBe ChrisRBe closed this as completed Apr 8, 2022
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

No branches or pull requests

3 participants