Skip to content

Refresh build - #1429

Merged
arcondello merged 10 commits into
dwavesystems:mainfrom
arcondello:refresh
Aug 4, 2026
Merged

Refresh build#1429
arcondello merged 10 commits into
dwavesystems:mainfrom
arcondello:refresh

Conversation

@arcondello

@arcondello arcondello commented Jul 30, 2026

Copy link
Copy Markdown
Member

We can add limited API support in a followup.

AI Generation Disclosure

No AI used.

@arcondello

arcondello commented Jul 30, 2026

Copy link
Copy Markdown
Member Author

Really 9a9f0aa is the only change I care about 😆

@arcondello
arcondello force-pushed the refresh branch 7 times, most recently from 77adf11 to 2004b37 Compare July 30, 2026 21:14
@arcondello
arcondello force-pushed the refresh branch 3 times, most recently from e566462 to ed14167 Compare July 30, 2026 23:23
@arcondello arcondello added the enhancement New feature or request label Jul 30, 2026
@arcondello
arcondello requested a review from thisac July 30, 2026 23:37
@arcondello
arcondello marked this pull request as ready for review July 30, 2026 23:37

@thisac thisac left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM overall. Thanks for this @arcondello!

Comment thread pyproject.toml
"reno==4.1.0", # latest as of July 2026
]
dev = [
"oldest-supported-numpy; python_version < '3.13'",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we not want to make the move to numpy>2?

Comment thread pyproject.toml
]
requires-python = ">=3.10"
dependencies = [
"numpy>=1.17.3", # oldest supported NumPy on Python 3.8

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Seems like a good time to bump this, no?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I was trying to minimize changes. Can change NumPy in another PR.

Comment thread meson.build Outdated
Comment on lines +32 to +44
foreach path : [
'dimod/binary/cybqm/cybqm_float32.pyx',
'dimod/binary/cybqm/cybqm_float64.pyx',
'dimod/constrained/cyconstrained.pyx',
'dimod/constrained/cyexpression.pyx',
'dimod/cyqmbase/cyqmbase_float32.pyx',
'dimod/cyqmbase/cyqmbase_float64.pyx',
'dimod/discrete/cydiscrete_quadratic_model.pyx',
'dimod/quadratic/cyqm/cyqm_float32.pyx',
'dimod/quadratic/cyqm/cyqm_float64.pyx',
'dimod/cyutilities.pyx',
'dimod/cyvariables.pyx',
]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No globbing supported? 😉

Comment thread .gitignore
Comment on lines +148 to +150
# meson-managed subprojects
subprojects/*
!subprojects/*.wrap

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ah, so this is instead of using submodules (for Catch2 in this case)?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes. Includes all of the build etc in a nice way

Comment thread .circleci/config.yml
python -m pip install twine
twine upload -u "$PYPI_USERNAME" -p "$PYPI_PASSWORD" --skip-existing ./dist/*

test-airspeed-velocity:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Probably reasonable, but any motivation behind removing all benchmarks?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Ancient, unused, and a maintenance headache.

Comment thread README.rst
Comment on lines +74 to +77
To run the Python tests, first install the package using an editable install
as described above. The tests can then be run with
`unittest <https://docs.python.org/3/library/unittest.html>`_.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could mention that pip install --group tests is additionally required to run the tests.

@randomir randomir left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is a nice refresh indeed!

Should we drop numpy<2 as part of this pr, or a follow-up?

@arcondello
arcondello merged commit a1d914d into dwavesystems:main Aug 4, 2026
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants