Skip to content

build: remove wheel from list of build dependencies#23

Merged
bdraco merged 1 commit intoBluetooth-Devices:mainfrom
tjni:build-dependency-tweaks
Aug 5, 2023
Merged

build: remove wheel from list of build dependencies#23
bdraco merged 1 commit intoBluetooth-Devices:mainfrom
tjni:build-dependency-tweaks

Conversation

@tjni
Copy link
Copy Markdown
Contributor

@tjni tjni commented Aug 5, 2023

It doesn't look like this is used.

A separate question: is the Cython version intended to be the preferred one (or only one) moving forward? I'm doing some work on this package in nixpkgs and wondering which one to build. Since it is listed as a build dependency in pyproject.toml, does it mean it's preferred?

@codecov
Copy link
Copy Markdown

codecov bot commented Aug 5, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (957ad28) 99.42% compared to head (19011a2) 99.42%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #23   +/-   ##
=======================================
  Coverage   99.42%   99.42%           
=======================================
  Files           3        3           
  Lines         175      175           
  Branches       25       25           
=======================================
  Hits          174      174           
  Misses          1        1           
Files Changed Coverage Δ
src/bluetooth_data_tools/__init__.py 100.00% <100.00%> (ø)

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

@tjni tjni changed the title Remove wheel from list of build dependencies. build: remove wheel from list of build dependencies Aug 5, 2023
@bdraco bdraco merged commit 5512c3d into Bluetooth-Devices:main Aug 5, 2023
@bdraco
Copy link
Copy Markdown
Member

bdraco commented Aug 5, 2023

The cython build is preferred but not required. Its much much slower without it

@tjni tjni deleted the build-dependency-tweaks branch August 5, 2023 03:19
@bdraco
Copy link
Copy Markdown
Member

bdraco commented Aug 5, 2023

If you are packaging its best to set in the env:

REQUIRE_CYTHON=1

when building to make sure it fails if it can't cythonize

@tjni
Copy link
Copy Markdown
Contributor Author

tjni commented Aug 5, 2023

Thank you very much, I'll do that!

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