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

chore(deps): bump click from 8.1.3 to 8.1.7 #7

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 24, 2023

Bumps click from 8.1.3 to 8.1.7.

Release notes

Sourced from click's releases.

8.1.7

This is a fix release for the 8.1.x feature branch.

8.1.6

This is a fix release for the 8.1.x feature branch. If you were having issues with type checking tools like pyright or mypy not accepting uses of Click's decorators, this should fix that.

8.1.5

This is a fix release for the 8.1.x feature branch. This fixes an issue with decorator type annotations that caused type checkers to fail for valid code. There are no runtime behavior changes.

8.1.4

This is a fix release for the 8.1.x feature branch.

Changelog

Sourced from click's changelog.

Version 8.1.7

Released 2023-08-17

  • Fix issue with regex flags in shell completion. :issue:2581
  • Bash version detection issues a warning instead of an error. :issue:2574
  • Fix issue with completion script for Fish shell. :issue:2567

Version 8.1.6

Released 2023-07-18

  • Fix an issue with type hints for @click.group(). :issue:2558

Version 8.1.5

Released 2023-07-13

  • Fix an issue with type hints for @click.command(), @click.option(), and other decorators. Introduce typing tests. :issue:2558

Version 8.1.4

Released 2023-07-06

  • Replace all typing.Dict occurrences to typing.MutableMapping for parameter hints. :issue:2255
  • Improve type hinting for decorators and give all generic types parameters. :issue:2398
  • Fix return value and type signature of shell_completion.add_completion_class function. :pr:2421
  • Bash version detection doesn't fail on Windows. :issue:2461
  • Completion works if there is a dot (.) in the program name. :issue:2166
  • Improve type annotations for pyright type checker. :issue:2268
  • Improve responsiveness of click.clear(). :issue:2284
  • Improve command name detection when using Shiv or PEX. :issue:2332
  • Avoid showing empty lines if command help text is empty. :issue:2368
  • ZSH completion script works when loaded from fpath. :issue:2344.
  • EOFError and KeyboardInterrupt tracebacks are not suppressed when standalone_mode is disabled. :issue:2380
  • @group.command does not fail if the group was created with a custom command_class. :issue:2416
  • multiple=True is allowed for flag options again and does not require

... (truncated)

Commits
  • 874ca2b release version 8.1.7
  • 6e1f6d3 completion(fish): add back ; as line endings in fish script (#2570)
  • a955c77 update fish enabling script
  • 3c1529e add back semicolons in fish script
  • a260ca6 Replace bash shell completion version error with warning (#2576)
  • d9db70c bash version support shows warning instead of error
  • 22b9b1c Fix incorrect passing of flags to re.sub (#2581)
  • d69d210 fix flake8 finding
  • af2da1e Fix incorrect passing of flags to re.sub
  • bb6a872 start version 8.1.7
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot requested a review from a team as a code owner August 24, 2023 23:35
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Aug 24, 2023
ttblanchard pushed a commit that referenced this pull request Aug 25, 2023
…and 'profile' override in bealine:// (#7)

* feat: Add profile override support to the bealine:// protocol

The 'profile picker'  in the downloader looks at the Bealine config and matches the first profile(in the order they are in .bealine/config) that has that farm as default.

This is not-precise. I saw some cases where a user had multiple profiles, but only the second one was valid. This is not likely to happen with 'real' customers, but is completely a non-obvious behavior to anyone.

With this change, Cloud Companion(when its used) and set this profile name, ensuring the downloader is using the same profile as Cloud Companion.

Of course, longer term we hope to put this downloader right into Cloud Companion, but for now seems worthwhile.

Testing:
- Added a unit test to validate the profile is overriden as expected

* feat!: Add CloudCompanion support for Login/Logout

BREAKING CHANGE: api.login and api.logout signatures have changed slightly
1. The return value of api.Login has changed. Itaswere and still is a string, but instead of assuming it's a SSO start URL it is now a more complete message for the user. Users no longer have to frame as 'SSO Start URL {return_value}' but use the value as the message
2. onPendingAuthorization now only uses kwargs. This is because SSO/CloudCompanion login types provide different information.

The Login/Logout button now understand both Permission Sets and CloudCompanion.

Cloud Companion will now 'owns' a section in .bealine/config, [cloud-companion]. It will write a key 'path' that is the path to its executable when it is used.

Bealine already assumes that any AWS profile with the 'studio_id' key is managed by Cloud Companion.
If the user attempts to 'login' then we use that path from the config and invoke CloudCompanion with a known set of args(login --profile {profileName}).

We then wait for the credentials to become valid.
Logout works similarly

CloudCompanion has a corresponding change to add these login/logout commands.

When 'login' is used, CloudCompanion pops up and logs into that profile. Once it logs in, it shows a dialog telling the user it will minimize which will then bring BeaLine back into focus

There's a slight change to the return values of api.login/api.logout.

Testing:
* Only tested on mac so far. I will test on windows during PR review
* I tested login/logout through the dev GUI for both a permissionset and Cloud Companion
* New unit tests added and some updated
* login/logout also work via the CLI
@dependabot dependabot bot force-pushed the dependabot/pip/click-8.1.7 branch from ec632be to d812543 Compare August 28, 2023 00:49
@dependabot dependabot bot force-pushed the dependabot/pip/click-8.1.7 branch from d812543 to 15aaf7f Compare August 29, 2023 21:06
@dependabot dependabot bot force-pushed the dependabot/pip/click-8.1.7 branch from 15aaf7f to a150003 Compare September 7, 2023 22:06
@dependabot dependabot bot force-pushed the dependabot/pip/click-8.1.7 branch from a150003 to dc10ab9 Compare September 11, 2023 18:49
@dependabot dependabot bot force-pushed the dependabot/pip/click-8.1.7 branch from dc10ab9 to c737b3a Compare September 11, 2023 19:13
@dependabot dependabot bot force-pushed the dependabot/pip/click-8.1.7 branch from c737b3a to 3d3ccad Compare September 11, 2023 19:58
@dependabot dependabot bot force-pushed the dependabot/pip/click-8.1.7 branch from 3d3ccad to a981b81 Compare September 14, 2023 17:43
Bumps [click](https://github.com/pallets/click) from 8.1.3 to 8.1.7.
- [Release notes](https://github.com/pallets/click/releases)
- [Changelog](https://github.com/pallets/click/blob/main/CHANGES.rst)
- [Commits](pallets/click@8.1.3...8.1.7)

---
updated-dependencies:
- dependency-name: click
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/click-8.1.7 branch from a981b81 to a144698 Compare September 22, 2023 15:49
@ddneilson
Copy link
Contributor

@dependabot close

@dependabot dependabot bot closed this Nov 8, 2023
@dependabot dependabot bot deleted the dependabot/pip/click-8.1.7 branch November 8, 2023 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant