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

Added pandasgui package #13237

Merged
merged 17 commits into from
Jan 27, 2021
Merged

Added pandasgui package #13237

merged 17 commits into from
Jan 27, 2021

Conversation

adamerose
Copy link
Contributor

Checklist

  • [✓] Title of this PR is meaningful: e.g. "Adding my_nifty_package", not "updated meta.yaml"
  • [✓] License file is packaged (see here for an example)
  • [✓] Source is from official source
  • [✓] Package does not vendor other packages. (If a package uses the source of another package, they should be separate packages or the licenses of all packages need to be packaged)
  • [✓] If static libraries are linked in, the license of the static library is packaged.
  • [✓] Build number is 0
  • [✓] A tarball (url) rather than a repo (e.g. git_url) is used in your recipe (see here for more details)
  • [✓] GitHub users listed in the maintainer section have posted a comment confirming they are willing to be listed there

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipes/pandasgui) and found some lint.

Here's what I've got...

For recipes/pandasgui:

  • Please do not delete the example recipe found in recipes/example/meta.yaml.

For recipes/pandasgui:

  • noarch: python recipes are recommended to have a lower bound on the python version. This recommendation will become a requirement in the future.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/pandasgui) and found it was in an excellent condition.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipes/pandasgui) and found some lint.

Here's what I've got...

For recipes/pandasgui:

  • noarch packages can't have selectors. If the selectors are necessary, please remove noarch: python.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/pandasgui) and found it was in an excellent condition.

@danschef
Copy link
Contributor

danschef commented Nov 16, 2020

@ocefpaf @mingwandroid I ping you here as we seem to have a similar problem to this one here. The build process fails for Linux with ImportError: libGL.so.1: cannot open shared object file: No such file or directory. I already tried to add libgl1-mesa-glx to the host requirements in case of Linux but it does not seem to work. Maybe I did not use the right syntax there.

Do you have any suggestion what is wrong with this recipe? The OSX build also fails with another error but I guess this does not matter in case of a noarch package.

@ocefpaf
Copy link
Member

ocefpaf commented Nov 16, 2020

@danschef
Copy link
Contributor

danschef commented Nov 16, 2020

Thanks , I updated the recipe accordingly (looks like we can't build it as a noarch package anymore) which fixes the ImportError: libGL.so.1 . However, some lines further pandasgui runs from PyQt5 import QtWebEngineWidgets which fails with another missing library in the Linux build:

import: 'pandasgui'
Traceback (most recent call last):
  File "/home/conda/staged-recipes/build_artifacts/pandasgui_1605539216465/test_tmp/run_test.py", line 2, in <module>
    import pandasgui
  File "/home/conda/staged-recipes/build_artifacts/pandasgui_1605539216465/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/lib/python3.8/site-packages/pandasgui/__init__.py", line 1, in <module>
    from pandasgui.gui import show
  File "/home/conda/staged-recipes/build_artifacts/pandasgui_1605539216465/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/lib/python3.8/site-packages/pandasgui/gui.py", line 14, in <module>
    from pandasgui.widgets.dataframe_explorer import DataFrameExplorer
  File "/home/conda/staged-recipes/build_artifacts/pandasgui_1605539216465/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/lib/python3.8/site-packages/pandasgui/widgets/dataframe_explorer.py", line 9, in <module>
    from pandasgui.widgets.grapher import Grapher
  File "/home/conda/staged-recipes/build_artifacts/pandasgui_1605539216465/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/lib/python3.8/site-packages/pandasgui/widgets/grapher.py", line 16, in <module>
    from pandasgui.widgets.plotly_viewer import PlotlyViewer
  File "/home/conda/staged-recipes/build_artifacts/pandasgui_1605539216465/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/lib/python3.8/site-packages/pandasgui/widgets/plotly_viewer.py", line 32, in <module>
    raise e
  File "/home/conda/staged-recipes/build_artifacts/pandasgui_1605539216465/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeh/lib/python3.8/site-packages/pandasgui/widgets/plotly_viewer.py", line 20, in <module>
    from PyQt5 import QtWebEngineWidgets
ImportError: libXcomposite.so.1: cannot open shared object file: No such file or directory

- {{ cdt('libselinux') }} # [linux]
- {{ cdt('libxdamage') }} # [linux]
- {{ cdt('libxxf86vm') }} # [linux]
- {{ cdt('libxext') }} # [linux]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can still be noarch and you probably don't need all of them. Please try adding only the yum requirements with mesa-libGL first.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, so I can safely remove the selectors in the complete recipe to make it noarch?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's try first without the CDTs, if we can fix this with only the yum requirements we can make Linux GUI happy and macOS and Windows can probably use the same noarch package. If we really need the CDTs we may need to drop the noarch.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I did not convert it back to noarch, yet, but I removed the CDT packages you mentioned in #13237 (comment) and the libGL error does not show up again. So, they are obviously not needed.

However, there is still the ImportError: libXcomposite.so.1. According to this, a sudo apt-get install python-pyqt5.qtwebkit might help. But where do I have to add it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding python-pyqt5.qtwebkit to the host requirements to fix the ImportError: libXcomposite.so.1 does not seem to work. Do I need to use a different package name?

@danschef
Copy link
Contributor

danschef commented Nov 19, 2020

@conda-forge/staged-recipes
I think we need some assistance here. The Linux build still fails with ImportError: libXcomposite.so.1 when importing QtWebEngineWidgets from PyQt5. So far, I could not find a solution (see above).

- pandasgui.widgets
commands:
- pip check
requires:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would add the same CDTs from build above here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jakirkham @ocefpaf
Done, but without success.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any advice on how to proceed?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@conda-forge/staged-recipes

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry. Out of ideas. I can try a few things later this week but I cannot promise I'll have time for it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would be very helpful, thanks!

@ickc ickc mentioned this pull request Dec 12, 2020
9 tasks
@ocefpaf
Copy link
Member

ocefpaf commented Jan 27, 2021

Also, if you want to skip Windows and macOS for now, get this merged for Linux, we can fix the rest on the feedstock.

@danschef
Copy link
Contributor

@ocefpaf Thanks a lot for looking into this! I would also suggest to merge this now and fix the rest on the feedstock. The recipe build seems to work fine on Linux and Windows, so only OSX is missing.
@adamrose If you like, I would offer to be a maintainer of the feedstock. Maybe I can support you there a bit.

@ocefpaf ocefpaf merged commit 95342c2 into conda-forge:master Jan 27, 2021
@ocefpaf
Copy link
Member

ocefpaf commented Jan 27, 2021

@ocefpaf Thanks a lot for looking into this! I would also suggest to merge this now and fix the rest on the feedstock. The recipe build seems to work fine on Linux and Windows, so only OSX is missing.
@adamrose If you like, I would offer to be a maintainer of the feedstock. Maybe I can support you there a bit.

Great, let's address the remaining issues on the feedstock. Apologies for the delay to get to this one but lately I've been fighting against my GH notifications a lot 😄

@adamerose
Copy link
Contributor Author

Thanks everyone! @danschef I added you to the maintainers list, would be great to have help since I'm new to using conda-forge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants