OSGeo / homebrew-osgeo4mac

Mac homebrew tap for maintaining a stable work environment for the OSGeo.org geospatial toolset
https://git.io/fhh3X
BSD 3-Clause "New" or "Revised" License
362 stars 111 forks source link

Cannot install osgeo-qgis due to dependency on python2 #1362

Closed davidraleigh closed 4 years ago

davidraleigh commented 4 years ago

Please answers the following

I've...

Describe the bug

seems to be the same issue as https://github.com/OSGeo/homebrew-osgeo4mac/issues/1340 and https://github.com/OSGeo/homebrew-osgeo4mac/issues/1353 but for osgeo-qgis

$ brew install --verbose osgeo/osgeo4mac/osgeo-qgis
==> Installing osgeo-qgis from osgeo/osgeo4mac
Error: No available formula with the name "python@2" (dependency of osgeo/osgeo4mac/osgeo-qgis)
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

python@2 was deleted from homebrew/core in commit 028f11f:
  python@2: delete (https://github.com/Homebrew/homebrew-core/issues/49796)
  EOL 1 January 2020.
  We gave it 1 month more to live so that people had time to migrate.
  All in all, developers had 11 years to do their migration.
  You can use the `brew extract` command and maintain python@2 in your own
  tap if necessary:
  https://docs.brew.sh/How-to-Create-and-Maintain-a-Tap

To show the formula before removal run:
  git -C "$(brew --repo homebrew/core)" show 028f11f^:Formula/python@2.rb

If you still use this formula consider creating your own tap:
  https://docs.brew.sh/How-to-Create-and-Maintain-a-Tap

My setup:

brew config 
HOMEBREW_VERSION: 2.2.5
ORIGIN: https://github.com/Homebrew/brew
HEAD: 4493f27db28be7f083737424cecd8edb863ec3f6
Last commit: 2 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: c1af875e08a1092483b244fe35ae28abd732175b
Core tap last commit: 85 minutes ago
HOMEBREW_PREFIX: /usr/local
CPU: dodeca-core 64-bit kabylake
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
Clang: 11.0 build 1100
Git: 2.25.0 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
Java: 11.0.6, 1.8.0_241
macOS: 10.15.3-x86_64
CLT: 11.3.1.0.1.1576735732
Xcode: 11.3.1
fjperini commented 4 years ago

@davidraleigh we are updating all the formulas. Wait for the update process to finish.

peop81 commented 4 years ago

Any ETA on this issue ? Thanks

alazarolop commented 4 years ago

No at this moment. We are facing some issues building QGIS without Python@2 and because some updates in macOS. As for now, cask version is the only available option. It should works even in a system with osgeo-formulas installed in parallel.

stale[bot] commented 4 years ago

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want to keep the issue open, please comment or update the info here. Thank you for your contributions.

stale[bot] commented 4 years ago

This issue or pull request has been automatically closed because it has not had recent activity. Thank you for your contributions.