Re: beangulp loader is confused by csv module name

2021-04-12 Thread Daniele Nicolodi
On 12/04/2021 13:53, kuba jamro wrote: > Thanks for the quick support on this.  > > I've tried removing the __name__ == '__main__' and while that doesn't > fix the problem it does at least show that the script should not be run > in isolation. > > In the meantime I have found that if I debug the

Re: beangulp loader is confused by csv module name

2021-04-12 Thread kuba jamro
Thanks for the quick support on this. I've tried removing the __name__ == '__main__' and while that doesn't fix the problem it does at least show that the script should not be run in isolation. In the meantime I have found that if I debug the full set of tests then I am able to debug the tests t

Re: beangulp loader is confused by csv module name

2021-04-11 Thread Martin Blais
We *could* just rename csv.py to csvimp.py On Sun, Apr 11, 2021 at 6:19 PM Daniele Nicolodi wrote: > On 12/04/2021 00:00, Daniele Nicolodi wrote: > > On 11/04/2021 23:55, kuba@gmail.com wrote: > >> Hi Dan, > >> > >> Yes, I am able to reproduce the same problem using the command line if I >

Re: beangulp loader is confused by csv module name

2021-04-11 Thread Daniele Nicolodi
On 12/04/2021 00:00, Daniele Nicolodi wrote: > On 11/04/2021 23:55, kuba@gmail.com wrote: >> Hi Dan, >> >> Yes, I am able to reproduce the same problem using the command line if I >> invoke the csv_test.py script. > > I see it too. I'm in it. In the meanwhile: > > bin/python -m pytest beangul

Re: beangulp loader is confused by csv module name

2021-04-11 Thread Daniele Nicolodi
On 11/04/2021 23:55, kuba@gmail.com wrote: > Hi Dan, > > Yes, I am able to reproduce the same problem using the command line if I > invoke the csv_test.py script. I see it too. I'm in it. In the meanwhile: bin/python -m pytest beangulp/importers/csv_test.py works (here at least). Cheers, D

Re: beangulp loader is confused by csv module name

2021-04-11 Thread kuba....@gmail.com
Hi Dan, Yes, I am able to reproduce the same problem using the command line if I invoke the csv_test.py script. (venv) bash-5.0$ git status On branch master Your branch is up to date with 'upstream/master'. nothing to commit, working tree clean (venv) bash-5.0$ python beangulp/importers/csv_te

Re: beangulp loader is confused by csv module name

2021-04-11 Thread Daniele Nicolodi
On 11/04/2021 23:43, Daniele Nicolodi wrote: > On 11/04/2021 23:16, kuba@gmail.com wrote: >> Hi, >> >> I'm having some problems using the debugger in the beangulp project. >> >> I'm using PyCharm 2021.1. >> Python 3.9.2 (default, Feb 20 2021, 00:00:00)  >> [GCC 10.2.1 20201125 (Red Hat 10.2.1-9

Re: beangulp loader is confused by csv module name

2021-04-11 Thread Daniele Nicolodi
On 11/04/2021 23:16, kuba@gmail.com wrote: > Hi, > > I'm having some problems using the debugger in the beangulp project. > > I'm using PyCharm 2021.1. > Python 3.9.2 (default, Feb 20 2021, 00:00:00)  > [GCC 10.2.1 20201125 (Red Hat 10.2.1-9)] on linux > > When I run pytest normally everythi

beangulp loader is confused by csv module name

2021-04-11 Thread kuba....@gmail.com
Hi, I'm having some problems using the debugger in the beangulp project. I'm using PyCharm 2021.1. Python 3.9.2 (default, Feb 20 2021, 00:00:00) [GCC 10.2.1 20201125 (Red Hat 10.2.1-9)] on linux When I run pytest normally everything runs fine, but if I try and use the debugger, the application