Closed LukeSavefrogs closed 9 months ago
Hi, thanks for looking into contributing to our project.
No, you're not missing anything. The checked in code (1 Oct 23, version 2.0.1) will output the error you report when running pytest without additional parameters.
I run the tests by passing a -db or -dburi parameter on the pytest command line. For example, using an embedded Firebird server on Windows:
pytest --dburi="firebird+firebird://sysdba@/E:/Project/.data/fb4/sqla_test.fdb?charset=UTF8&fb_client_library=E:/Project/.data/fb40/fbclient.dll"
I will update the source to include a clean exit for your use case.
This really needs an improvement. Current codebase is very unfriendly for new developers.
I spent months working on this code some months ago. And today it took me some good time to grasp everything again 😉.
I will work on some PRs for this on next days.
@pauldex Does your primary development machine for this project runs Windows?
For reference: There is no requirements_dev.txt
anymore.
To install a development environment use:
python -m venv .venv
.venv/Scripts/activate
pip install .[dev]
@pauldex @LukeSavefrogs please give a look at PR #60.
@fdcastel, yes I use Windows as my primary development machine.
Nice. So please take a look at this commit when you can.
Also, #64! 😄
Hi @pauldex, I wanted to try to contribute to your project but something is not clear to me...
I cloned and installed the project via
pip install -r .\requirements_dev.txt
but when I runpytest
it fails with to the following stacktrace:As far as I understand, this is caused by SqlAlchemy testing suite which does not find any
db
section in thesetup.cfg
ortest.cfg
files.Did you configure something that is only on your local workstation or am I missing something?