sterling_paramore
08/31/2022, 3:51 PMvisch
08/31/2022, 4:22 PMlogging.yaml for this please share. I honestly dislike the colors and formatting even in my dev environmentvisch
08/31/2022, 4:23 PMsterling_paramore
08/31/2022, 4:34 PMsterling_paramore
08/31/2022, 4:35 PMvisch
08/31/2022, 4:35 PMtaylor
08/31/2022, 4:36 PMsterling_paramore
08/31/2022, 4:36 PMvisch
08/31/2022, 4:36 PMvisch
08/31/2022, 4:37 PMlogging.yaml is setting the log level to DEBUG? Depends on your setup?sterling_paramore
08/31/2022, 4:37 PMvisch
08/31/2022, 4:38 PMtaylor
08/31/2022, 4:38 PMflorian.hines
08/31/2022, 4:46 PMflorian.hines
08/31/2022, 4:52 PMflorian.hines
08/31/2022, 4:53 PMedgar_ramirez_mondragon
08/31/2022, 4:56 PMedgar_ramirez_mondragon
08/31/2022, 4:57 PMflorian.hines
08/31/2022, 4:58 PMedgar_ramirez_mondragon
08/31/2022, 5:14 PMcolor attribute of the click context to False should prevent even those from printing colored outputsterling_paramore
08/31/2022, 5:15 PMNO_COLOR variable.florian.hines
08/31/2022, 5:17 PMrich. But I'm guessing what you're see'ing is just colorized click.secho output.sterling_paramore
09/01/2022, 8:48 PMNO_COLOR does indeed disable color in the error logs. However, it still uses some kind of grayscale for highlighting and thus does not remove the annoying color codes!!!sterling_paramore
09/01/2022, 8:50 PMaaronsteers
09/01/2022, 8:50 PMNO_COLOR should remove color codes. Admittedly there's still more to do. I've added a comment to also check on greyscale codes but please chime in here with comments/suggestions: https://github.com/meltano/meltano/issues/6482#issuecomment-1234671360ken_payne
09/01/2022, 9:00 PMsterling_paramore
09/01/2022, 9:03 PMmeltano==2.5.0.
rich==12.51 was installed as dependency of typer==0.6.1 as a dependency of dagster-cloud==1.0.6aaronsteers
09/01/2022, 9:26 PMdagster and meltano are both installed on the same python environment or that you are not using python virtual environments?
If Meltano is installed with pipx install meltano , I would the Meltano bits to be kept separate from other installed libraries - but would be good to confirm.aaronsteers
09/01/2022, 9:27 PMrich anyway, including the ability to disable it (if needed) when non-color output is requested. WIP here.sterling_paramore
09/01/2022, 9:28 PMpipx was mostly for developer convenienceaaronsteers
09/01/2022, 9:29 PMpoetry is the Dev-focused tool but pipx is really for all application-type installations.aaronsteers
09/01/2022, 9:30 PMpoetry for local dev (if you want to 🙂 )
2. pipx to install "programs" like meltano
3. pip basically never, unless you know you won't have conflicts or you don't care about them.aaronsteers
09/01/2022, 9:31 PMsterling_paramore
09/01/2022, 9:32 PMsterling_paramore
09/01/2022, 9:34 PMpipx). And then have a separate RUN pipx install meltano==2.5.0 that would install the meltano application in my conatiner?
I current have dagster running meltano via python methods that run shell commands.aaronsteers
09/01/2022, 9:40 PMpipx .- but it's just generally easier to have pipx manage the virtual environments for you.aaronsteers
09/01/2022, 9:45 PMpip install meltano (or pipx install meltano )
2. meltano install dagster (Meltano will automatically create a virtualenv for you if it has a plugin definition and a `pip_url`for dagster)
When working in containerized environments, you basically get the first program installed directly with pip free from worrying about conflicts. The second app you install, though, will need to be in a virtual env if you want to be sure they don't conflict.sterling_paramore
09/01/2022, 10:28 PMCOPY requirements/requirements-eta_wh.txt /requirements-eta_wh.txt
RUN pip install --upgrade pip
RUN pip install --ignore-installed -r /requirements-eta_wh.txt && rm -rf /root/.cache
# This instead of `pipx ensurepath`
ENV PATH=$PATH:/root/.local/bin
# Install meltano in a separate python environment via recommended pipx
RUN pipx install meltano==2.5.0
No more extremely verbose fancy colored error logging!aaronsteers
09/01/2022, 10:28 PMaaronsteers
09/01/2022, 10:29 PMsterling_paramore
09/01/2022, 10:29 PMaaronsteers
09/01/2022, 10:29 PM