Skip to content

Conversation

amilcarlucas
Copy link
Collaborator

And hopefully fix some warnings

@Copilot Copilot AI review requested due to automatic review settings August 20, 2025 18:06
Copy link
Contributor

@Copilot 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 modernizes the setuptools configuration to address deprecation warnings and improve package data handling. The changes update both the legacy setup.py and modern pyproject.toml configurations to use current best practices.

Key changes:

  • Updates setuptools and wheel to specific pinned versions
  • Switches from implicit package discovery to explicit configuration
  • Enhances package data patterns to include subdirectories with **/* glob patterns

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
setup.py Adds explicit package_data configuration with recursive patterns while maintaining backward compatibility
pyproject.toml Pins dependency versions, disables implicit package data inclusion, and updates glob patterns for better file discovery

setup(
packages=["ardupilot_methodic_configurator"],
# this is used by bdist
include_package_data=False,
Copy link
Preview

Copilot AI Aug 20, 2025

Choose a reason for hiding this comment

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

[nitpick] Setting include_package_data=False in setup.py while also setting include-package-data=false in pyproject.toml creates redundant configuration. Consider removing this from setup.py since pyproject.toml is the primary configuration file.

Suggested change
include_package_data=False,

Copilot uses AI. Check for mistakes.

Copy link
Contributor

github-actions bot commented Aug 20, 2025

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
8227 6369 77% 73% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 81c3658 by action🐍

Copy link
Contributor

github-actions bot commented Aug 20, 2025

Test Results

    2 files      2 suites   1m 21s ⏱️
1 653 tests 1 652 ✅ 1 💤 0 ❌
3 306 runs  3 304 ✅ 2 💤 0 ❌

Results for commit 81c3658.

♻️ This comment has been updated with latest results.

And hopefully fix some warnings
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.

1 participant