Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/bld_wheels_and_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
steps:
- uses: actions/checkout@v5
- name: Build wheels
uses: pypa/cibuildwheel@v3.1.4
uses: pypa/cibuildwheel@v3.4.1
env:
CIBW_BUILD: "*-win32"
CIBW_SKIP: "cp38-* *t-*"
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ build
dist
ibm_db.egg-info
*.pyc
config.py
libdsnao64c.*
*~
*.out
Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
include ibm_db.h ibm_db.c
include CHANGES.md LICENSE README.md
include config.py.sample
include ibm_db_dll.pth
include _ibm_db_register_dll.py
recursive-include ibm_db_tests *.py *.png *.jpg
Expand Down
2 changes: 1 addition & 1 deletion NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ print('info=%r' % ibm_db.server_info(conn))

Before running the test suite make sure to perform the following

- rename the config.py.sample to config.py
- Update config.json with your database connection details
- Replace the following in run_all_tests
```
export IBM_DB_HOME='XXXX.DSN'
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -673,9 +673,8 @@ pip3 install ibm_db --no-build-isolation
# Testing

Tests displaying Python ibm_db driver code examples are located in the ibm_db_tests
directory. A valid config.py will need to be created to configure your Db2
settings. A config.py.sample exists that can be copied and modified for your
environment.
directory. A valid config.py will need to be configured for your Db2
settings. Update the config.json with your database connection details.

- Set Environment Variables DB2_USER, DB2_PASSWD accordingly.

Expand Down
File renamed without changes.
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,12 +495,11 @@ def print_exception( e, url):
else:
library = ['db2']

package_data = { 'ibm_db_tests': [ 'run_individual_tests', '*.png', '*.jpg', 'config.py.sample']}
package_data = { 'ibm_db_tests': [ 'run_individual_tests', '*.png', '*.jpg']}

data_files = [ (get_python_lib(), ['./README.md']),
(get_python_lib(), ['./CHANGES.md']),
(get_python_lib(), ['./LICENSE']),
(get_python_lib(), ['./config.py.sample'])]
(get_python_lib(), ['./LICENSE'])]

modules = ['ibm_db_dbi', 'testfunctions', 'ibmdb_tests', 'ibm_db_ctx', '_ibm_db_register_dll']

Expand Down
Loading