Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.7+ issue with os import of errno #93

Closed
aganezov opened this issue Nov 23, 2019 · 4 comments
Closed

Python 3.7+ issue with os import of errno #93

aganezov opened this issue Nov 23, 2019 · 4 comments

Comments

@aganezov
Copy link

On python version 3.7, 3.8 on MacOS, errno import from os module raises an ImportError, which happens when running FluentDNA main example with chr19 fasta input.

@aganezov aganezov changed the title Python 3.7 issue with os import of errno Python 3.7+ issue with os import of errno Nov 23, 2019
@josiahseaman
Copy link
Owner

Thanks for posting this error. Mac testing has been challenging. I'll look into this right away.

"Several undocumented internal imports were removed. One example is that os.errno is no longer available; use import errno directly instead. Note that such undocumented internal imports may be removed any time without notice, even in micro version releases." Docs

Normally I'd expect a deprecation warning, but I guess it's my fault for not having cross-version, cross-platform continuous integration.

@josiahseaman
Copy link
Owner

josiahseaman commented Nov 24, 2019

@aganezov Would you mind testing the same command now from the python-master branch? We're also testing it on the mac 3.7 environment we have here.

pip install --upgrade git+https://github.com/josiahseaman/DNASkittleUtils
pip install --upgrade git+https://github.com/josiahseaman/FluentDNA.git@python-master

./fluentdna --fasta="FluentDNA/example_data/Human selenoproteins.fa"

Thank you so much for pointing this out. Once I'm done testing I'll push the fix to pip and PyPI.

@josiahseaman
Copy link
Owner

Update: The same error existed on DNASkittleUtils, so I fixed it and pushed the change to PyPI. These commands should resolve the issue.

pip install --upgrade DNASkittleUtils
pip install --upgrade git+https://github.com/josiahseaman/FluentDNA.git@python-master

@josiahseaman
Copy link
Owner

This is now in the latest pip and Release versions.

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

No branches or pull requests

2 participants