Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-3214

py.typed files are not included in release wheels

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 4.1.1
    • Affects Version/s: 4.1
    • Component/s: None
    • None

      py.typed files are not included in release wheels:

      unzip -l pymongo-4.1.0-cp310-cp310-macosx_10_9_universal2.whl
      Archive:  pymongo-4.1.0-cp310-cp310-macosx_10_9_universal2.whl
        Length      Date    Time    Name
      ---------  ---------- -----   ----
          45586  04-04-2022 18:05   bson/__init__.py
          56352  04-04-2022 18:06   bson/_cbson.cpython-310-darwin.so
           1338  04-04-2022 18:05   bson/_helpers.py
          12370  04-04-2022 18:05   bson/binary.py
           3473  04-04-2022 18:05   bson/code.py
          15479  04-04-2022 18:05   bson/codec_options.py
           4772  04-04-2022 18:05   bson/dbref.py
          10220  04-04-2022 18:05   bson/decimal128.py
           1134  04-04-2022 18:05   bson/errors.py
           1159  04-04-2022 18:05   bson/int64.py
          34402  04-04-2022 18:05   bson/json_util.py
           1470  04-04-2022 18:05   bson/max_key.py
           1470  04-04-2022 18:05   bson/min_key.py
           9292  04-04-2022 18:05   bson/objectid.py
           6684  04-04-2022 18:05   bson/raw_bson.py
           4602  04-04-2022 18:05   bson/regex.py
           6449  04-04-2022 18:05   bson/son.py
           4225  04-04-2022 18:05   bson/timestamp.py
           1726  04-04-2022 18:05   bson/tz_util.py
          38294  04-04-2022 18:05   gridfs/__init__.py
           1056  04-04-2022 18:05   gridfs/errors.py
          32501  04-04-2022 18:05   gridfs/grid_file.py
           2653  04-04-2022 18:05   pymongo/__init__.py
          21460  04-04-2022 18:06   pymongo/_cmessage.cpython-310-darwin.so
           8134  04-04-2022 18:05   pymongo/aggregation.py
          19908  04-04-2022 18:05   pymongo/auth.py
           3176  04-04-2022 18:05   pymongo/auth_aws.py
          18888  04-04-2022 18:05   pymongo/bulk.py
          16847  04-04-2022 18:05   pymongo/change_stream.py
          10749  04-04-2022 18:05   pymongo/client_options.py
          42382  04-04-2022 18:05   pymongo/client_session.py
           7994  04-04-2022 18:05   pymongo/collation.py
         127870  04-04-2022 18:05   pymongo/collection.py
          12665  04-04-2022 18:05   pymongo/command_cursor.py
          33708  04-04-2022 18:05   pymongo/common.py
           4694  04-04-2022 18:05   pymongo/compression_support.py
          49419  04-04-2022 18:05   pymongo/cursor.py
           5453  04-04-2022 18:05   pymongo/daemon.py
          42428  04-04-2022 18:05   pymongo/database.py
           1715  04-04-2022 18:05   pymongo/driver_info.py
          24587  04-04-2022 18:05   pymongo/encryption.py
           8682  04-04-2022 18:05   pymongo/encryption_options.py
           9250  04-04-2022 18:05   pymongo/errors.py
           9062  04-04-2022 18:05   pymongo/event_loggers.py
           6556  04-04-2022 18:05   pymongo/hello.py
           8667  04-04-2022 18:05   pymongo/helpers.py
           4254  04-04-2022 18:05   pymongo/max_staleness_selectors.py
          46723  04-04-2022 18:05   pymongo/message.py
          91840  04-04-2022 18:05   pymongo/mongo_client.py
          15231  04-04-2022 18:05   pymongo/monitor.py
          60062  04-04-2022 18:05   pymongo/monitoring.py
          11029  04-04-2022 18:05   pymongo/network.py
           3131  04-04-2022 18:05   pymongo/ocsp_cache.py
          14962  04-04-2022 18:05   pymongo/ocsp_support.py
          18318  04-04-2022 18:05   pymongo/operations.py
           6074  04-04-2022 18:05   pymongo/periodic_executor.py
          61486  04-04-2022 18:05   pymongo/pool.py
          14726  04-04-2022 18:05   pymongo/pyopenssl_context.py
           2393  04-04-2022 18:05   pymongo/read_concern.py
          20654  04-04-2022 18:05   pymongo/read_preferences.py
           3705  04-04-2022 18:05   pymongo/response.py
           7647  04-04-2022 18:05   pymongo/results.py
           4339  04-04-2022 18:05   pymongo/saslprep.py
           8797  04-04-2022 18:05   pymongo/server.py
           5926  04-04-2022 18:05   pymongo/server_api.py
           9072  04-04-2022 18:05   pymongo/server_description.py
           5100  04-04-2022 18:05   pymongo/server_selectors.py
            888  04-04-2022 18:05   pymongo/server_type.py
           4993  04-04-2022 18:05   pymongo/settings.py
           4137  04-04-2022 18:05   pymongo/socket_checker.py
           4348  04-04-2022 18:05   pymongo/srv_resolver.py
           1572  04-04-2022 18:05   pymongo/ssl_context.py
           3802  04-04-2022 18:05   pymongo/ssl_support.py
          34753  04-04-2022 18:05   pymongo/topology.py
          24790  04-04-2022 18:05   pymongo/topology_description.py
           1186  04-04-2022 18:05   pymongo/typings.py
          23309  04-04-2022 18:05   pymongo/uri_parser.py
           4982  04-04-2022 18:05   pymongo/write_concern.py
          11357  04-04-2022 18:06   pymongo-4.1.0.dist-info/LICENSE
           8466  04-04-2022 18:06   pymongo-4.1.0.dist-info/METADATA
            115  04-04-2022 18:06   pymongo-4.1.0.dist-info/WHEEL
             20  04-04-2022 18:06   pymongo-4.1.0.dist-info/top_level.txt
           6455  04-04-2022 18:06   pymongo-4.1.0.dist-info/RECORD
      ---------                     -------
        1341643                     83 files
      

      Reported and fixed in https://github.com/mongodb/mongo-python-driver/pull/921/

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: