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

ConfigSpace crashes with Python 3.12 #727

Open
motus opened this issue Apr 30, 2024 · 2 comments
Open

ConfigSpace crashes with Python 3.12 #727

motus opened this issue Apr 30, 2024 · 2 comments
Assignees
Labels
bug Something isn't working dependencies Pull requests that update a dependency file

Comments

@motus
Copy link
Member

motus commented Apr 30, 2024

Reproduced on Windows only so far. To reproduce, create a conda environment:
conda create -n "p312" python=3.12 ipython ConfigSpace
and then run:

import ConfigSpace as CS
space = CS.ConfigurationSpace(seed=1234)
space.add_hyperparameter(CS.UniformFloatHyperparameter(name='x', lower=0, upper=1))

it will crash with
TypeError: Expected float, got numpy.float64

P.S. The issue seems to be related to ConfigSpace issue #336

@motus motus added bug Something isn't working dependencies Pull requests that update a dependency file labels Apr 30, 2024
@motus motus self-assigned this Apr 30, 2024
bpkroth pushed a commit that referenced this issue Apr 30, 2024
@bpkroth
Copy link
Contributor

bpkroth commented Apr 30, 2024

Thanks so much for tracking this down.

@bpkroth bpkroth self-assigned this May 21, 2024
@bpkroth
Copy link
Contributor

bpkroth commented May 21, 2024

Waiting on automl/ConfigSpace#346 and the release that gets generated from that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

2 participants