Skip to content

Conversation

@jo7ueb
Copy link
Collaborator

@jo7ueb jo7ueb commented Dec 3, 2025

Description of Changes

Current setup.py excludes tests directory, but we also need tests.* to exclude all test codes.
This results unintended installation of test/bsv module for site-packages.
It causes confilict to test code for any package..
This PR fixes this problem.

Linked Issues / Tickets

N/A

Testing Procedure

Describe the tests you've added or any testing steps you've taken.

  • I have added new unit tests
  • All tests pass locally
  • I have tested manually in my local environment

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have updated CHANGELOG.md with my changes
  • I have run the linter
@jo7ueb jo7ueb changed the base branch from master to develop-port December 3, 2025 08:09
@jo7ueb jo7ueb requested review from Copilot and voyager1708 December 3, 2025 11:49
Copilot finished reviewing on behalf of jo7ueb December 3, 2025 11:50
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a package configuration issue in setup.py where test modules were being unintentionally installed into site-packages. By adding 'tests.*' to the exclusion pattern, all test subpackages (including tests/bsv) are now properly excluded from installation, preventing potential conflicts with the actual bsv package.

Key Changes:

  • Updated the find_packages() exclude parameter to include both 'tests' and 'tests.*' patterns

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant