Comments (6)
Thanks for raising this. We have not seen this warning. Would it be possible for you to provide steps to reproduce it, including Python version, etc? Thanks!
from maxmind-db-reader-python.
hm, so i think this was caused by pytest
and pytest-warnings
. and it turns out it's fixed in a newer version. apologies for the noise
from maxmind-db-reader-python.
System check identified no issues (4 silenced).
October 29, 2018 - 02:03:08
Django version 1.11.16, using settings 'myapp.settings'
Starting development server at http://127.0.0.1:<port>/
Quit the server with CONTROL-C.
/kx/app/venv/local/lib/python2.7/site-packages/maxminddb/__init__.py:7: ImportWarning: Not importing directory '/kx/app/venv/local/lib/python2.7/site-packages/maxminddb/extension': missing __init__.py
import maxminddb.extension
Not sure what version @davidszotten had, but we have 1.4.1 (the latest) and this is still present.
from maxmind-db-reader-python.
(python 2.7.6, if that helps.)
from maxmind-db-reader-python.
@craigds, I am still not able to reproduce this on 2.7.15:
$ pip instal maxminddb --verbose
...
***************************************************************************
WARNING: The C extension could not be compiled, speedups are not enabled.
Plain-Python build succeeded.
***************************************************************************
done
Removing source in /tmp/pip-build-v7sKjb/maxminddb
Successfully installed maxminddb-1.4.1
Cleaning up...
$ python
Python 2.7.15 (default, Sep 21 2018, 10:32:37)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import maxminddb
>>> db = maxminddb.open_database('/usr/local/share/GeoIP/GeoIP2-City.mmdb')
>>> db.get('1.1.1.1')
...
from maxmind-db-reader-python.
Never mind. I was able to reproduce this with -Wdefault
.
from maxmind-db-reader-python.
Related Issues (20)
- Reading Multiple MMDB Files HOT 1
- Type annotations with `RecordDict` not satisfying mypy HOT 3
- Python `whl` releases HOT 1
- Iterating over the whole database is broken HOT 3
- TypeError: 'Reader' object is not iterable HOT 1
- PyPI sdist tarball no longer contains tests/data folder HOT 2
- Python aarch64/arm64 whl releases HOT 6
- setuptools is (incorrectly?) listed as a production dependency in pyproject.toml HOT 1
- Linux aarch64/arm64 whl releases HOT 2
- Allow accessing the network field in the ASN mmdb file HOT 4
- Null pointer dereference with corrupt database file in MODE_MMAP_EXT HOT 2
- PyPI tarball - some test data missing HOT 3
- "MODE_MMAP_EXT requires the maxminddb.extension module to be available" though libmaxminddb is installed HOT 8
- The GH releases have no test db HOT 3
- ValueError: Unsupported open mode: MODE_MMAP_EXT HOT 1
- Performance variance between python versions HOT 1
- New version is breaking Python 2 installs - missing setup.py python_requires update HOT 3
- Use ipv4 and ipv6 geographic libraries to generate mmdb files HOT 1
- Dependabot couldn't authenticate with https://pypi.python.org/simple/
- Running in an environment without mmap? HOT 5
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 maxmind-db-reader-python.