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

use uv and hatchling #552

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

use uv and hatchling #552

wants to merge 9 commits into from

Conversation

cjdoris
Copy link
Collaborator

@cjdoris cjdoris commented Sep 6, 2024

No description provided.

Copy link
Contributor

@MilesCranmer MilesCranmer left a comment

Choose a reason for hiding this comment

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

This is looking good (and super useful for CI). Though I ran into the following bug when I ran the tests locally for some reason; is this expected?

[ins] In [5]: from juliacall import Main as jl

[ins] In [6]: jl.x = 1
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[6], line 1
----> 1 jl.x = 1

File ~/.julia/packages/PythonCall/Nr75f/src/JlWrap/any.jl:254, in __setattr__(self, k, v)
    252     else:
    253         return
--> 254     self._jl_callmethod($(pyjl_methodnum(pyjlany_setattr)), k, v)
    255 def __dir__(self):
    256     return ValueBase.__dir__(self) + self._jl_callmethod($(pyjl_methodnum(pyjlany_dir)))

AttributeError: Julia: Global Main.x does not exist and cannot be assigned. Declare it using `global` before attempting assignment.

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.

2 participants