-
Notifications
You must be signed in to change notification settings - Fork 83
Conversation
Signed-off-by: Hongxin Liang <[email protected]>
pkg/util/util.go
Outdated
@@ -72,8 +72,14 @@ func SetupFlyteDir() error { | |||
return nil | |||
} | |||
|
|||
// PrintDemoMessage will print sandbox success message | |||
// PrintDemoMessage will print demo start success message | |||
// Deprecated: use PrintDemoStartMessage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we are confident this is not used by any potential users, it is fine to delete.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I doubt that there's someone out there importing this. It's fine to delete.
pkg/util/util.go
Outdated
@@ -97,8 +102,14 @@ func PrintDemoMessage(flyteConsolePort int, kubeconfigLocation string, dryRun bo | |||
fmt.Printf("%s The Minio API is hosted on localhost:30002. Use http://localhost:30080/minio/login for Minio console\n", emoji.OpenFileFolder) | |||
} | |||
|
|||
// PrintSandboxMessage will print sandbox success message | |||
// PrintSandboxMessage will print sandbox start success message | |||
// Deprecated: use PrintSandboxStartMessage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
@@ -120,6 +130,12 @@ func PrintSandboxMessage(flyteConsolePort int, kubeconfigLocation string, dryRun | |||
} | |||
} | |||
|
|||
// PrintSandboxTeardownMessage will print sandbox teardown success message | |||
func PrintSandboxTeardownMessage(flyteConsolePort int, kubeconfigLocation string) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems we don't need an equivalent for demo
command because demo teardown
invokes sandbox.Teardown()
Signed-off-by: Hongxin Liang <[email protected]>
}) | ||
} | ||
|
||
func TestPrintSandboxTeardownMessage(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test doesn't seem to be very useful, so just for the completeness.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in all honesty, the previous test is not terribly useful either. It's fine to leave both there.
Doesn't seem to relate to this PR. |
Signed-off-by: Hongxin Liang <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #403 +/- ##
==========================================
+ Coverage 66.57% 67.37% +0.80%
==========================================
Files 145 145
Lines 6271 5239 -1032
==========================================
- Hits 4175 3530 -645
+ Misses 1816 1429 -387
Partials 280 280
Flags with carried forward coverage won't be shown. Click here to find out more.
|
This seems to be either a pip or setuptools issue. A successful build has I tried pip 23.0.1 and setuptools 58.2.0 locally and that worked. https://github.com/divi255/sphinxcontrib.youtube/blob/master/setup.py#L4 has the weird usage of importing itself from setup.py and maybe pip/setuptools no longer supports that. Since this would require change to readthedocs, it is not possible to do anything in this PR. |
sphinxcontrib-youtube is supposed to be a dropin replacement (we did this in other repos, e.g.: flyteorg/flytekit#1619 ) |
🤦 , so many different sphinxcontrib youtube libs: |
Signed-off-by: Hongxin Liang <[email protected]>
Signed-off-by: Hongxin Liang <[email protected]>
@@ -90,7 +90,7 @@ sphinxcontrib-qthelp==1.0.3 | |||
# via sphinx | |||
sphinxcontrib-serializinghtml==1.1.5 | |||
# via sphinx | |||
sphinxcontrib-yt==0.2.2 | |||
sphinxcontrib-youtube==1.2.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did this manually. I was not able to do make doc-requirements.txt
because pip-compile complained:
Using legacy resolver. Consider using backtracking resolver with `--resolver=backtracking`.
Could not find a version that matches sphinx<5,<8.0.0,>=0.6,>=1.3,>=1.5.0,>=1.8,>=2,>=7.0.0,~=4.0 (from -r doc-requirements.in (line 2))
Tried: 0.1.61611, 0.1.61798, 0.1.61843, 0.1.61945, 0.1.61950, 0.2, 0.3, 0.4, 0.4.1, 0.4.2, 0.4.3, 0.5, 0.5.1, 0.5.2, 0.6, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.6.5, 0.6.6, 0.6.7, 1.0, 1.0.1, 1.0.2, 1.0.3, 1.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, 1.8.0b1, 2.0.0b1, 2.0.0b1, 2.0.0b2, 2.0.0b2, 3.0.0b1, 3.0.0b1, 4.0.0b1, 4.0.0b1, 4.0.0b2, 4.0.0b2, 5.0.0b1, 5.0.0b1, 6.0.0b1, 6.0.0b1, 6.0.0b2, 6.0.0b2, 7.0.0rc1, 7.0.0rc1
There are incompatible versions in the resolved dependencies:
sphinx (from -r doc-requirements.in (line 2))
Sphinx<8.0.0,>=7.0.0 (from sphinx-prompt==1.7.0->-r doc-requirements.in (line 3))
Sphinx>=0.6 (from sphinxcontrib-youtube==1.2.0->-r doc-requirements.in (line 8))
sphinx~=4.0 (from furo==2022.4.7.dev1->-r doc-requirements.in (line 1))
sphinx<5,>=2 (from sphinx-panels==0.6.0->-r doc-requirements.in (line 9))
Sphinx>=1.5.0 (from sphinx_fontawesome==0.0.6->-r doc-requirements.in (line 7))
sphinx>=1.3 (from sphinx-code-include==1.1.1->-r doc-requirements.in (line 5))
sphinx>=2.0 (from sphinx-material==0.0.35->-r doc-requirements.in (line 4))
sphinx>=1.8 (from sphinx-copybutton==0.5.2->-r doc-requirements.in (line 6))
make: *** [doc-requirements.txt] Error 2
So sphinx-panels
and sphinx-prompt
don't agree with each other.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sphinx-panels
is no longer maintained https://github.com/executablebooks/sphinx-panels#sphinx-panels :(
docs/source/conf.py
Outdated
@@ -43,7 +43,7 @@ | |||
"sphinx-prompt", | |||
"sphinx_copybutton", | |||
"sphinx_fontawesome", | |||
"sphinxcontrib.yt", | |||
"sphinxcontrib-youtube", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TIL this conf.py file.
Signed-off-by: Hongxin Liang <[email protected]>
@@ -43,7 +43,7 @@ | |||
"sphinx-prompt", | |||
"sphinx_copybutton", | |||
"sphinx_fontawesome", | |||
"sphinxcontrib.yt", | |||
"sphinxcontrib.youtube", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sphinxcontrib-youtube
vs. sphinxcontrib.youtube
, lol.
TL;DR
Print instruction after execution sandbox/demo teardown command.
This PR also includes a doc build fix similarly as flyteorg/flytekit#1619.
Type
Are all requirements met?
Complete description
As described in flyteorg/flyte#3689, it is helpful to guide users cleaning up.
Tracking Issue
Closes flyteorg/flyte#3689
Follow-up issue
NA