Skip to content

Conversation

@teolzr
Copy link

@teolzr teolzr commented Aug 21, 2025

  • Migrate from deprecated setup.py to modern pyproject.toml configuration
  • Update license configuration to use SPDX format (Apache-2.0)
  • Remove deprecated license classifier to fix setuptools warnings
  • Replace 'python setup.py sdist bdist_wheel' with 'python -m build'
  • Upgrade pyodbc from 5.0.1 to 5.2.0
  • Upgrade twine from 4.0.2 to 6.1.0 to fix license metadata issues
  • Add py.typed file for type checking support
  • Add build tool to development requirements
  • Update Makefile to use modern build tools
  • Update README with build instructions

Fixes:

  • Setuptools deprecation warnings
  • License classifier deprecation warnings
  • Twine license metadata KeyError
  • Package distribution validation issues

All tests pass and package builds successfully with new system.

What do these changes do?

Are there changes in behavior for the user?

Related issue number

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes

teolzr added 5 commits August 21, 2025 16:49
- Migrate from deprecated setup.py to modern pyproject.toml configuration
- Update license configuration to use SPDX format (Apache-2.0)
- Remove deprecated license classifier to fix setuptools warnings
- Replace 'python setup.py sdist bdist_wheel' with 'python -m build'
- Upgrade pyodbc from 5.0.1 to 5.2.0
- Upgrade twine from 4.0.2 to 6.1.0 to fix license metadata issues
- Add py.typed file for type checking support
- Add build tool to development requirements
- Update Makefile to use modern build tools
- Update README with build instructions

Fixes:
- Setuptools deprecation warnings
- License classifier deprecation warnings
- Twine license metadata KeyError
- Package distribution validation issues

All tests pass and package builds successfully with new system.
- Update from Python 3.6.8-slim-jessie to Python 3.11-slim
- Remove deprecated Debian Jessie repositories
- Add git and make for proper build environment
- Fix setuptools-scm version detection with fallback
- Simplify ODBC setup (removed problematic SQLite ODBC driver)
- Test build system and linting successfully in container
- Add support for Python 3.13
- Include Mac ARM (M1/M2) native support
- Fix Azure token handling and binary attrs_before parameter
- Maintain backward compatibility with existing aioodbc API
- All tests pass (130/130)

Closes: #XXX
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