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

Bump mypy from 0.812 to 0.910 in /dependencies #1717

Merged
merged 20 commits into from
Jul 12, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 28, 2021

Bumps mypy from 0.812 to 0.910.

Commits
  • f5fc579 Bump version to 0.910
  • 46ce325 Fix crash when inferring multiple assignment with overloaded function (#10689)
  • 96366d1 Don't ask to install a stub package if stubs are installed (#10670)
  • 9637f99 Fix crash with assignment to variable guarded with TypeGuard (#10683)
  • 680fded Document --install-types --non-interactive (#10684)
  • 64deb99 pkg_resources is now in types-setuptools (#10681)
  • e8cf526 Run build a second time when using --install-types --non-interactive (#10669)
  • f5a3405 Improve error reporting when --install-types has no cache (#10667)
  • 0b65866 pyopenssl types package name was corrected (#10656)
  • 4905aad Don't suggest to install stubs with py.typed files (#10652)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 28, 2021
@dependabot dependabot bot force-pushed the dependabot/pip/dependencies/mypy-0.910 branch 2 times, most recently from 53d9be3 to 98b4a2c Compare June 28, 2021 18:57
Bumps [mypy](https://github.com/python/mypy) from 0.812 to 0.910.
- [Release notes](https://github.com/python/mypy/releases)
- [Commits](python/mypy@v0.812...v0.910)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/pip/dependencies/mypy-0.910 branch from 98b4a2c to d3f8f91 Compare June 29, 2021 19:22
@admiralAwkbar
Copy link
Collaborator

@primetheus any help with getting this working? its driving me insane lol

@admiralAwkbar
Copy link
Collaborator

@assignUser im having some issues getting R to install its modules correctly? any idea whats not happy?

@admiralAwkbar
Copy link
Collaborator

@assignUser as you can see in the log, when it tries to run the lintr, it comes back with error:

2021-07-12 16:04:33 [INFO]   File:[/tmp/lint/.automation/test/r/r_good_1.r]
2021-07-12 16:04:33 [DEBUG]   Found errors. Error code: 1, File type: R, Error on missing exec bit: true
2021-07-12 16:04:33 [ERROR]   Found errors in [R] linter!
2021-07-12 16:04:33 [ERROR]   Error code: 1. Command output:
------
Error: package or namespace load failed for ‘methods’:
 .onLoad failed in loadNamespace() for 'methods', details:
  call: assign(".methodsNamespace", where, baseenv())
  error: cannot add binding of '.methodsNamespace' to the base environment
Error: package or namespace load failed for ‘datasets’:
 .onLoad failed in loadNamespace() for 'methods', details:
  call: assign(".methodsNamespace", where, baseenv())
  error: cannot add binding of '.methodsNamespace' to the base environment
Error: package or namespace load failed for ‘utils’:
 .onLoad failed in loadNamespace() for 'methods', details:
  call: assign(".methodsNamespace", where, baseenv())
  error: cannot add binding of '.methodsNamespace' to the base environment
Error: package or namespace load failed for ‘grDevices’:
 .onLoad failed in loadNamespace() for 'methods', details:
  call: assign(".methodsNamespace", where, baseenv())
  error: cannot add binding of '.methodsNamespace' to the base environment
Error: package or namespace load failed for ‘graphics’:
 .onLoad failed in loadNamespace() for 'methods', details:
  call: assign(".methodsNamespace", where, baseenv())
  error: cannot add binding of '.methodsNamespace' to the base environment
Error: package or namespace load failed for ‘stats’:
 .onLoad failed in loadNamespace() for 'methods', details:
  call: assign(".methodsNamespace", where, baseenv())
  error: cannot add binding of '.methodsNamespace' to the base environment
Error: package or namespace load failed for ‘methods’:
 .onLoad failed in loadNamespace() for 'methods', details:
  call: assign(".methodsNamespace", where, baseenv())
  error: cannot add binding of '.methodsNamespace' to the base environment
During startup - Warning messages:
1: package "methods" in options("defaultPackages") was not found 
2: package ‘datasets’ in options("defaultPackages") was not found 
3: package ‘utils’ in options("defaultPackages") was not found 
4: package ‘grDevices’ in options("defaultPackages") was not found 
5: package ‘graphics’ in options("defaultPackages") was not found 
6: package ‘stats’ in options("defaultPackages") was not found 
7: package ‘methods’ in options("defaultPackages") was not found 
Error: .onLoad failed in loadNamespace() for 'methods', details:
  call: assign(".methodsNamespace", where, baseenv())
  error: cannot add binding of '.methodsNamespace' to the base environment
Execution halted

and in the install I see the following errors:

@assignUser
Copy link
Contributor

@admiralAwkbar Hmm, looks like it fails to install the default packages for some reason... I'll look into it.

@admiralAwkbar
Copy link
Collaborator

@assignUser your the best thank you!

@assignUser
Copy link
Contributor

assignUser commented Jul 12, 2021

@admiralAwkbar Pretty sure the issue is that alpine bumped the R version to 4.1.0, my package was built with 3.x, that's the reason for the base packages failing to install. I'm rebuilding the package now, feel free to use latest or 0.3.0(should be pushed in ~15min).

@admiralAwkbar
Copy link
Collaborator

@assignUser

@admiralAwkbar
Copy link
Collaborator

@assignUser seeing this in the logs...

#66 0.290 > install.packages(list.dirs('/usr/lib/R/library/',recursive = FALSE), repos = NULL, type = 'source')
#66 0.524 ERROR: cannot install to srcdir for package ‘R6’
#66 0.525 * removing ‘/usr/lib/R/library/R6’
#66 0.738 ERROR: cannot install to srcdir for package ‘askpass’
#66 0.740 * removing ‘/usr/lib/R/library/askpass’
#66 0.949 ERROR: cannot install to srcdir for package ‘base’
#66 0.950 * removing ‘/usr/lib/R/library/base’
#66 0.970 Fatal error: unable to open the base package

@admiralAwkbar
Copy link
Collaborator

@assignUser i think i fixed it.. had some path issue but I think I got that all figured out. again thanks for the help! it was driving me insane lol...

@admiralAwkbar admiralAwkbar merged commit eebaee3 into master Jul 12, 2021
@admiralAwkbar admiralAwkbar deleted the dependabot/pip/dependencies/mypy-0.910 branch July 12, 2021 18:33
@admiralAwkbar admiralAwkbar restored the dependabot/pip/dependencies/mypy-0.910 branch December 21, 2021 15:29
@admiralAwkbar admiralAwkbar deleted the dependabot/pip/dependencies/mypy-0.910 branch December 21, 2021 15: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.

None yet

2 participants