You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/10/07 10:14:30 UTC

[GitHub] [superset] dfoley84 opened a new issue, #21732: superset db upgrade

dfoley84 opened a new issue, #21732:
URL: https://github.com/apache/superset/issues/21732

   I'm trying to publish apache/superset to ECS, when trying to do  a superset db upgrade I'm faced with the following issues,
   #### How to reproduce the bug
   
   1. Go to '...'
   2. Click on '....'
   3. Scroll down to '....'
   4. See error
   
   ### Expected results
   
   DB to be successfully configured. 
   
   ### Actual results
   
   `<html>
   <body>
   <!--StartFragment-->
   
   Skipping local overrides
   --
     | 2022-10-07T11:11:31.174+01:00 | ######################################################################
     | 2022-10-07T11:11:31.174+01:00 | Init Step 1/4 [Starting] -- Applying DB migrations
     | 2022-10-07T11:11:31.174+01:00 | ######################################################################
     | 2022-10-07T11:11:36.334+01:00 | Traceback (most recent call last):
     | 2022-10-07T11:11:36.334+01:00 | File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 568, in _build_master
     | 2022-10-07T11:11:36.334+01:00 | ws.require(__requires__)
     | 2022-10-07T11:11:36.334+01:00 | File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 886, in require
     | 2022-10-07T11:11:36.334+01:00 | needed = self.resolve(parse_requirements(requirements))
     | 2022-10-07T11:11:36.334+01:00 | File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 777, in resolve
     | 2022-10-07T11:11:36.334+01:00 | raise VersionConflict(dist, req).with_context(dependent_req)
     | 2022-10-07T11:11:36.334+01:00 | pkg_resources.ContextualVersionConflict: (typing-extensions 4.3.0 (/usr/local/lib/python3.8/site-packages), Requirement.parse('typing-extensions<4,>=3.10'), {'apache-superset'})
     | 2022-10-07T11:11:36.334+01:00 | During handling of the above exception, another exception occurred:
     | 2022-10-07T11:11:36.334+01:00 | Traceback (most recent call last):
     | 2022-10-07T11:11:36.334+01:00 | File "/usr/local/bin/superset", line 33, in <module>
     | 2022-10-07T11:11:36.334+01:00 | sys.exit(load_entry_point('apache-superset', 'console_scripts', 'superset')())
     | 2022-10-07T11:11:36.334+01:00 | File "/usr/local/bin/superset", line 25, in importlib_load_entry_point
     | 2022-10-07T11:11:36.334+01:00 | return next(matches).load()
     | 2022-10-07T11:11:36.334+01:00 | File "/usr/local/lib/python3.8/importlib/metadata.py", line 77, in load
     | 2022-10-07T11:11:36.334+01:00 | module = import_module(match.group('module'))
     | 2022-10-07T11:11:36.334+01:00 | File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
     | 2022-10-07T11:11:36.334+01:00 | return _bootstrap._gcd_import(name[level:], package, level)
     | 2022-10-07T11:11:36.334+01:00 | File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
     | 2022-10-07T11:11:36.334+01:00 | File "<frozen importlib._bootstrap>", line 991, in _find_and_load
     | 2022-10-07T11:11:36.334+01:00 | File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
     | 2022-10-07T11:11:36.334+01:00 | File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
     | 2022-10-07T11:11:36.334+01:00 | File "<frozen importlib._bootstrap_external>", line 843, in exec_module
     | 2022-10-07T11:11:36.334+01:00 | File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
     | 2022-10-07T11:11:36.334+01:00 | File "/app/superset/cli/main.py", line 28, in <module>
     | 2022-10-07T11:11:36.334+01:00 | from superset.cli.lib import normalize_token
     | 2022-10-07T11:11:36.334+01:00 | File "/app/superset/cli/lib.py", line 20, in <module>
     | 2022-10-07T11:11:36.334+01:00 | from superset import config
     | 2022-10-07T11:11:36.334+01:00 | File "/app/superset/config.py", line 46, in <module>
     | 2022-10-07T11:11:36.334+01:00 | import pkg_resources
     | 2022-10-07T11:11:36.334+01:00 | File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3243, in <module>
     | 2022-10-07T11:11:36.334+01:00 | def _initialize_master_working_set():
     | 2022-10-07T11:11:36.334+01:00 | File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3226, in _call_aside
     | 2022-10-07T11:11:36.334+01:00 | f(*args, **kwargs)
     | 2022-10-07T11:11:36.334+01:00 | File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3255, in _initialize_master_working_set
     | 2022-10-07T11:11:36.334+01:00 | working_set = WorkingSet._build_master()
     | 2022-10-07T11:11:36.334+01:00 | File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 570, in _build_master
     | 2022-10-07T11:11:36.334+01:00 | return cls._build_from_requirements(__requires__)
     | 2022-10-07T11:11:36.334+01:00 | File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_from_requirements
     | 2022-10-07T11:11:36.334+01:00 | dists = ws.resolve(reqs, Environment())
     | 2022-10-07T11:11:36.334+01:00 | File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line 772, in resolve
     | 2022-10-07T11:11:36.334+01:00 | raise DistributionNotFound(req, requirers)
     | 2022-10-07T11:11:36.334+01:00 | pkg_resources.DistributionNotFound: The 'typing-extensions<4,>=3.10' distribution was not found and is required by apache-superset
   
   <!--EndFragment-->
   </body>
   </html>`
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] dfoley84 closed issue #21732: superset db upgrade

Posted by GitBox <gi...@apache.org>.
dfoley84 closed issue #21732: superset db upgrade
URL: https://github.com/apache/superset/issues/21732


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org