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

ResourceWarning #20

Closed
Bartvds opened this Issue Jan 27, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@Bartvds
Copy link

commented Jan 27, 2015

I get a bunch of ResourceWarning's when installing django_storages_redux-1.2.1 using pip:

Downloading/unpacking django-storages-redux
  Downloading django-storages-redux-1.2.1.tar.gz (55kB): 55kB downloaded
  Running setup.py (path:/home/vagrant/.virtualenvs/myproject/build/django-storages-redux/setup.py) egg_info for package django-storages-redux
    /home/vagrant/.virtualenvs/myproject/build/django-storages-redux/setup.py:13: ResourceWarning: unclosed file <_io.TextIOWrapper name='README.rst' mode='r' encoding='ISO-8859-1'>
      long_description=open('README.rst').read() + '\n\n' + open('CHANGELOG.rst').read(),
    /home/vagrant/.virtualenvs/myproject/build/django-storages-redux/setup.py:13: ResourceWarning: unclosed file <_io.TextIOWrapper name='CHANGELOG.rst' mode='r' encoding='ISO-8859-1'>
      long_description=open('README.rst').read() + '\n\n' + open('CHANGELOG.rst').read(),

    /home/vagrant/.virtualenvs/myproject/lib/python3.4/site-packages/setuptools/command/sdist.py:230: DeprecationWarning: 'U' mode is deprecated
      manifest = open(self.manifest, 'rbU')
Installing collected packages: django-storages-redux
  Running setup.py install for django-storages-redux
    /home/vagrant/.virtualenvs/myproject/build/django-storages-redux/setup.py:13: ResourceWarning: unclosed file <_io.TextIOWrapper name='README.rst' mode='r' encoding='ISO-8859-1'>
      long_description=open('README.rst').read() + '\n\n' + open('CHANGELOG.rst').read(),
    /home/vagrant/.virtualenvs/myproject/build/django-storages-redux/setup.py:13: ResourceWarning: unclosed file <_io.TextIOWrapper name='CHANGELOG.rst' mode='r' encoding='ISO-8859-1'>
      long_description=open('README.rst').read() + '\n\n' + open('CHANGELOG.rst').read(),

    /home/vagrant/.virtualenvs/myproject/lib/python3.4/site-packages/setuptools/command/sdist.py:230: DeprecationWarning: 'U' mode is deprecated
      manifest = open(self.manifest, 'rbU')
Successfully installed django-storages-redux

This is on Python 3.4.2 using Django 1.7.2, both on Ubuntu and Windows.

@jschneier

This comment has been minimized.

Copy link
Owner

commented Jan 27, 2015

Yep. Sorry about that. Let me add wheel configuration and close those files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.