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

Enabling rtd by adding the required modifications and dependencies #117

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

George-Elhamy
Copy link

Description

The changes here are just setting up the dependencies for using rtd and making sure it builds correctly.

Motivation and Context

Rtd id the platform that we are using for hosting our project so we make sure it is well established with all the required depndencies.

How Has This Been Tested?

Screenshots (only if appropriate, delete if not):

Types of changes

  • Bug fix
  • New feature
  • Breaking change (Causes existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • I have documented my changes in /docs/changelog.md.
  • My change requires additional/updated documentation.
  • I have updated the documentation accordingly.
  • I have added/updated the config example for any module docstrings as necessary.
  • I have checked that the change does not contain obvious errors
    (syntax, indentation, mutable default values, etc.).
  • I have tested my changes using 'Load all modules' on the default dummy configuration.
  • All changed Jupyter notebooks have been stripped of their output cells.

prithviulm and others added 10 commits September 28, 2024 16:46
…should work now, need to improve formatting and layout.
…nil, Pyside2 docs say that Python 3.10 is not supported for Pyside2==5.15.2.1 which is the version that is pinned in setup.py but qudi installation docs say it works with Python 3.10 and I myself use Python 3.10. So let's just try Python 3.10
…rnings during the build due to syntax etc but at least the docs render locally. Added several `__init__.py` files to enable autosummary to recurse into submodules. Also some modules were run upon import which broke the build so added `if __name__ == "__main__"` where necessary. For some reason, the widgets submodule actually causes a segfault during the sphinx build which is amazing. I removed the blank `__init__.py` to avoid sphinx recursing into that submodule so the docs can build at least.
Copy link
Member

@Neverhorst Neverhorst left a comment

Choose a reason for hiding this comment

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

  • Fix merge conflict artifacts
  • VERSION file has been deleted, why?
  • Do not introduce any __init__.py files to PEP 420 implicit namespace packages and make sure your IDE/tooling does not do this automatically. This will break the qudi namespace.
  • __main__.py files do not need import guards, i.e. if __name__ == "__main__":
  • merge pyproject.toml from current main

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

Successfully merging this pull request may close these issues.

3 participants