Skip to content

Conversation

@CompRhys
Copy link
Member

Summary

Avoid needing to use compat mode when installing to get pylance features. Note this is deprecated.

Checklist

  • Doc strings have been added in the Google docstring format.
    Run ruff on your code.
  • Tests have been added for any new functionality or bug fixes.
  • All linting and tests pass.

@cla-bot cla-bot bot added the cla-signed Contributor license agreement signed label Apr 25, 2025
@CompRhys CompRhys requested a review from janosh April 25, 2025 15:32
Copy link
Collaborator

@janosh janosh left a comment

Choose a reason for hiding this comment

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

not relevant here but good to see hatchling has uv support

pyproject.toml Outdated
[build-system]
requires = ["setuptools==77.0.3"]
build-backend = "setuptools.build_meta"
requires = ["hatchling>=1.8.0"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

latest hatchling as of now is 1.27.0 so let's pin to that or newer

@janosh janosh added the pkg Packaging label Apr 25, 2025
@janosh janosh merged commit 0e33e6f into main Apr 25, 2025
89 of 90 checks passed
@janosh janosh deleted the hatchling-176 branch April 25, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed Contributor license agreement signed pkg Packaging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change build system to hatchling to avoid need for editable_mode=compat to get local language server features.

2 participants