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

setup: Relax Click version requirement #246

Merged
merged 1 commit into from
Apr 1, 2021

Conversation

rwalton-arm
Copy link
Contributor

Description

We were pinning the version of Click we depend on to 7.1. Pinning to a
specific version of the package is not ideal, as we would have to keep
updating the pinned version to avoid dependency conflicts with newer
Python packages that depend on later versions of Click. We depend on
some Click features that appeared in 7.1, so we do need at least this
version. Later versions of the package should also work for us, so we
don't need to specify the requirement so precisely.

This commit relaxes the requirement to Click 7.1 or greater. This should
minimise the potential for dependency conflicts with other packages.

Fixes #245

Test Coverage

  • This change is covered by existing or additional automated tests.
  • Manual testing has been performed (and evidence provided) as automated testing was not feasible.
  • Additional tests are not required for this change (e.g. documentation update).

@codecov
Copy link

codecov bot commented Mar 30, 2021

Codecov Report

Merging #246 (52fbd7e) into master (6d92773) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #246   +/-   ##
=======================================
  Coverage   97.07%   97.07%           
=======================================
  Files          92       92           
  Lines        2768     2768           
=======================================
  Hits         2687     2687           
  Misses         81       81           

setup.py Outdated Show resolved Hide resolved
We were pinning the version of Click we depend on to 7.1. Pinning to a
specific version of the package is not ideal, as we would have to keep
updating the pinned version to avoid dependency conflicts with newer
Python packages that depend on later versions of Click. We depend on
some Click features that appeared in 7.1, so we do need at least this
version. Later versions of the package should also work for us, so we
don't need to specify the requirement so precisely.

This commit relaxes the requirement to Click 7.1 or greater and less
than 8. This should minimise the potential for dependency conflicts with
other packages.

Fixes ARMmbed#245
@Patater Patater merged commit a9b0e1f into ARMmbed:master Apr 1, 2021
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.

Remove pinning of Click version in setup.py
2 participants