Comments (4)
Good point, I'll release a fix soon. This might not be my only package suffering from this issue
from mt940.
I've uploaded a new release to PyPI :)
from mt940.
@wolph I believe somehow this issue is still present.
I've installed a fresh virtual environment and install the latest version:
python -m virtualenv venv
source venv/bin/activate
pip install mt-940==4.23.0
ls venv/lib/python3.10/site-packages/tests
shows the following content:
betterplace/ conftest.py jejik/ __pycache__/ self-provided/ test_metadata.py test_processors.py test_tags.py
cmxl/ __init__.py mBank/ sberbank/ test_entry_dates.py test_parse.py test_sta_parsing.py test_utils.py
Comparing tests
and mt940_tests
, I believe these might be leftover local changes that have been included during packaging:
diff -q venv/lib/python3.10/site-packages/tests/ venv/lib/python3.10/site-packages/mt940_tests/
Common subdirectories: venv/lib/python3.10/site-packages/tests/betterplace and venv/lib/python3.10/site-packages/mt940_tests/betterplace
Common subdirectories: venv/lib/python3.10/site-packages/tests/cmxl and venv/lib/python3.10/site-packages/mt940_tests/cmxl
Files venv/lib/python3.10/site-packages/tests/conftest.py and venv/lib/python3.10/site-packages/mt940_tests/conftest.py differ
Common subdirectories: venv/lib/python3.10/site-packages/tests/jejik and venv/lib/python3.10/site-packages/mt940_tests/jejik
Common subdirectories: venv/lib/python3.10/site-packages/tests/mBank and venv/lib/python3.10/site-packages/mt940_tests/mBank
Common subdirectories: venv/lib/python3.10/site-packages/tests/__pycache__ and venv/lib/python3.10/site-packages/mt940_tests/__pycache__
Common subdirectories: venv/lib/python3.10/site-packages/tests/sberbank and venv/lib/python3.10/site-packages/mt940_tests/sberbank
Common subdirectories: venv/lib/python3.10/site-packages/tests/self-provided and venv/lib/python3.10/site-packages/mt940_tests/self-provided
Files venv/lib/python3.10/site-packages/tests/test_parse.py and venv/lib/python3.10/site-packages/mt940_tests/test_parse.py differ
Files venv/lib/python3.10/site-packages/tests/test_processors.py and venv/lib/python3.10/site-packages/mt940_tests/test_processors.py differ
Files venv/lib/python3.10/site-packages/tests/test_tags.py and venv/lib/python3.10/site-packages/mt940_tests/test_tags.py differ
Apart from that, I also feel like shipping and packaging mt940_test
test directory is not considered good practice and should be added to the excludes:
https://github.com/WoLpH/mt940/blob/d3f8b44f26b220f5bf97bf448f8960efe4278d3f/setup.py#L98
from mt940.
You're right. The tests were still bundled. I've since switched to a new build system and I've pushed a new release without any tests
from mt940.
Related Issues (20)
- AttributeError: module 'mt940' has no attribute 'parse' HOT 5
- Transaction Reference Number is not returned by the parser HOT 5
- Missing essential documentation for Transaction fields. HOT 2
- Dropping Transaction Data? HOT 1
- First intermediate_opening_balance line missing HOT 5
- AttributeError: 'NoneType' object has no attribute 'encoding' HOT 1
- How to read closing, opening and available balances HOT 3
- Minor parsing errors
- Opening Balance HOT 4
- Parsing transactions : key 64 HOT 8
- Multiple accounts in one file HOT 7
- Parser doesn't show running balance or opening/closing balance at transaction level HOT 2
- Status and Fund code , when Currency ends with a D HOT 2
- Getting only single account data instead of multiple accounts HOT 1
- Non-numeric statement number HOT 2
- Exporting to tabular format HOT 1
- cannot run for citibank? HOT 1
- Single "account_identification" field HOT 2
- Statement line is parsed incorrectly for customer/bank reference HOT 2
- MT940 Issues parsing with :61: HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mt940.