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

misc: simplify setup.py #3815

Merged
merged 1 commit into from
Feb 1, 2025
Merged

misc: simplify setup.py #3815

merged 1 commit into from
Feb 1, 2025

Conversation

superlopuh
Copy link
Member

Just a bit of simplification. I tried to remove the whole thing but versioneer breaks.

@superlopuh superlopuh added the misc Miscellaneous label Feb 1, 2025
@superlopuh superlopuh self-assigned this Feb 1, 2025
cmdclass=cast(Mapping[str, type[Command]], versioneer.get_cmdclass()),
packages=find_packages(),
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
Copy link
Member Author

Choose a reason for hiding this comment

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

this is well typed now

@@ -57,6 +57,7 @@ xdsl-tblgen = "xdsl.tools.tblgen_to_py:main"
[tool.setuptools]
platforms = ["Linux", "Mac OS-X", "Unix"]
zip-safe = false
packages = ["xdsl"]
Copy link
Member Author

Choose a reason for hiding this comment

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

we only have one package, no need to auto-discover things

Copy link

codecov bot commented Feb 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.25%. Comparing base (bd5575d) to head (becf428).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3815   +/-   ##
=======================================
  Coverage   91.25%   91.25%           
=======================================
  Files         461      461           
  Lines       57557    57557           
  Branches     5549     5549           
=======================================
  Hits        52523    52523           
  Misses       3609     3609           
  Partials     1425     1425           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@superlopuh superlopuh merged commit 27bf821 into main Feb 1, 2025
16 checks passed
@superlopuh superlopuh deleted the sasha/setup-minimise/packages branch February 1, 2025 09:33
kaylendog added a commit to kaylendog/xdsl that referenced this pull request Feb 3, 2025
@alexarice
Copy link
Collaborator

This has completely broken downstream

superlopuh added a commit that referenced this pull request Feb 10, 2025
Reopens #3848, which fixes a regression introduced by #3815, and
partially fixed with #3847.

While the issue is fixed on most installations with the other fix PR it
breaks on some systems, and when a `site` folder is present after
generating the docs website locally.

We tested this change with @georgebisbas today, on whose linux machine
xDSL cannot currently be installed, and works after applying the changes
in this PR.
oluwatimilehin pushed a commit to oluwatimilehin/xdsl that referenced this pull request Feb 13, 2025
oluwatimilehin pushed a commit to oluwatimilehin/xdsl that referenced this pull request Feb 13, 2025
Reopens xdslproject#3848, which fixes a regression introduced by xdslproject#3815, and
partially fixed with xdslproject#3847.

While the issue is fixed on most installations with the other fix PR it
breaks on some systems, and when a `site` folder is present after
generating the docs website locally.

We tested this change with @georgebisbas today, on whose linux machine
xDSL cannot currently be installed, and works after applying the changes
in this PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
misc Miscellaneous
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants