wechat_jump_game
wechat_jump_game copied to clipboard
Project dependencies may have API risk issues
Hi, In wechat_jump_game, inappropriate dependency versioning constraints can cause risks.
Below are the dependencies and version constraints that the project is using
backports.functools-lru-cache==1.4
cycler==0.10.0
matplotlib==2.1.1
numpy==1.13.3
olefile==0.44
opencv-python==3.4.0.12
Pillow==4.3.0
pyparsing==2.2.0
python-dateutil==2.6.1
pytz==2017.3
six==1.11.0
tensorflow==1.4.0
pandas==0.22.0
scipy==1.0.0
scikit_learn==0.19.1
The version constraint == will introduce the risk of dependency conflicts because the scope of dependencies is too strict. The version constraint No Upper Bound and * will introduce the risk of the missing API Error because the latest version of the dependencies may remove some APIs.
After further analysis, in this project, The version constraint of dependency scipy can be changed to >=0.8.0,<=1.2.3.
The above modification suggestions can reduce the dependency conflicts as much as possible, and introduce the latest version as much as possible without calling Error in the projects.
The invocation of the current project includes all the following methods.
The calling methods from the pandas
The calling methods from the scipy
io.imread
The calling methods from the all methods
sys.exit io.imread image.getdata wda.Client save_data f.close output.decode board_x_set.append find_piece_and_board c.session plt.figure np.asarray hsv2rgb region1.save parser.add_argument ai.get_result_len fig.canvas.mpl_connect pf.to_csv adb.get_screen self._read_image device_str.replace pixel_division press_time_array.append pixels_Widh.append adb.run set_button_position binary_screenshot.BytesIO.Image.open.load screenshot.pull_screenshot im.rotate sess.run np.zeros adb.test_device_os self._find_board platform.system process.stdout.read cv2.imread get_press_time max format rgb2hsv os.path.abspath self.client.screenshot re.match ImageDraw.Draw phone_os_str.replace regr.fit pull_screenshot_temp float debug.dump_device_info os.getcwd self.figure.canvas.mpl_connect piece_x_set.append coord.append data.append self.action self.session.tap_hold binary_screenshot.replace re.search os.path.dirname y_score.append AutoBot os.path.isdir yes_or_no sys.stdout.write f.write cv2.rectangle Image.open shutil.copy draw.ellipse os.chdir points.append im.load math.sqrt size_str.replace datetime.datetime.now.strftime graph.get_tensor_by_name ai.computing_k_b_v self.image.set_array distance.strip.strip self.coords.pop input ai.init os.system len os.path.exists abs list settings.get_bot_params plt.imshow screenshot.replace adb.test_density tf.argmax press_time.strip.strip open debug.computing_error adb.test_device regr.predict region1.putdata s.tap_hold str pross_data json.load random.random self.connector_screenshot cv2.matchTemplate StringIO im.set_array LinearRegression make_debug_dir BytesIO classification_result.tf.argmax.eval im.crop img.getdata self.target.write read_one_image math.floor update_data cv2.minMaxLoc jump int UnicodeStreamFilter press_time.strip search config datetime.datetime.now _get_screen_size linear_model_main adb.test_device_detail min region.crop s.decode matches.group subprocess.Popen self.client.session debug.backup_screenshot image.load pandas.DataFrame os.popen os.getcwd.replace random.randint get_data random.randrange time.time super backup_screenshot s.encode c.screenshot cv2.resize draw.line transform.resize cor.pop os.path.isfile plt.show ManualBot pull_screenshot all m.group saver.restore debug.save_debug_screenshot animation.FuncAnimation process.communicate np.exp self._set_button_coords print main type config.get time.sleep self._find_piece each.decode tf.Session sys.stdout.flush os.remove im.close self.AutoBot.super.__init__ tf.train.latest_checkpoint cor.append os.mkdir distance.strip self.connector_taphold self._get_coord_y_start_scan self.coords.append strint tf.train.import_meta_graph pandas.read_csv distance_array.append process.read os.listdir self.errors.self.encode_to.s.encode.decode tf.get_default_graph self.ManualBot.super.__init__ check_screenshot find_piece zip sum im.save save_debug_creenshot distances.append exit os.path.join density_str.replace auto_adb config.open_accordant_config random.uniform Image.open.load region.convert np.array argparse.ArgumentParser press_times.append range round parser.parse_args jumpbot bot.run screenshot.check_screenshot
@developer Could please help me check this issue? May I pull a request to fix it? Thank you very much.
你好!!我已经收到你的邮件!!谢谢!!
这是来自QQ邮箱的假期自动回复邮件。 您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
这是来自QQ邮箱的假期自动回复邮件。 您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。