NEAT-Flappy-Bird
                                
                                 NEAT-Flappy-Bird copied to clipboard
                                
                                    NEAT-Flappy-Bird copied to clipboard
                            
                            
                            
                        Project dependencies may have API risk issues
Hi, In NEAT-Flappy-Bird, inappropriate dependency versioning constraints can cause risks.
Below are the dependencies and version constraints that the project is using
numpy
pygame
neat-python
graphviz
matplotlib
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 graphviz can be changed to >=0.3,<=0.20.
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 graphviz
graphviz.Digraph
The calling methods from the all methods
bird.jump len matplotlib.pyplot.grid pipe.move matplotlib.pyplot.figure pygame.font.init set.add format neat.Population.add_reporter abs birds.pop pipe_ind.pipes.PIPE_TOP.get_width statistics.get_species_sizes statistics.get_fitness_mean matplotlib.pyplot.subplot round draw_window pipe.PIPE_TOP.get_width str bird.get_mask.overlap os.path.join.pygame.image.load.convert_alpha neat.Population.run Pipe.remove birds.index neat.nn.FeedForwardNetwork.create matplotlib.pyplot.savefig ax.stackplot set bird.img.get_width pygame.time.Clock.tick matplotlib.pyplot.title enumerate pygame.display.set_mode Bird self.PIPE_TOP.get_height blitRotateCenter pipes.PIPE_TOP.get_width pygame.image.load matplotlib.pyplot.close pygame.time.Clock pygame.event.get statistics.get_fitness_stdev pygame.display.set_caption pygame.display.update os.path.dirname os.path.join neat.Population range bird.move pipe.collide matplotlib.pyplot.xlabel pipe_ind.pipes.PIPE_BOTTOM.get_width matplotlib.pyplot.ylabel matplotlib.pyplot.legend birds.append pygame.quit genome.connections.values ge.pop node_colors.get matplotlib.pyplot.plot pipe.draw random.randrange type bird.img.get_height Pipe matplotlib.pyplot.subplots surf.blit Base warnings.warn quit bird.get_mask bird.birds.index.nets.activate copy.copy Pipe.append win.blit pygame.draw.line nets.pop matplotlib.pyplot.show graphviz.Digraph.edge pygame.transform.scale run node_names.get nets.append neat.StatisticsReporter pygame.transform.scale2x rem.append self.set_height neat.config.Config Base.move ge.append print matplotlib.pyplot.gca.set_yscale pygame.font.SysFont graphviz.Digraph graphviz.Digraph.node numpy.array pygame.mask.from_surface pygame.font.SysFont.render STAT_FONT.render.get_width pygame.transform.rotate pygame.transform.rotate.get_rect neat.StdOutReporter Base.draw graphviz.Digraph.render pygame.transform.flip bird.draw image.get_rect genome.nodes.keys pygame.transform.scale2x.get_width matplotlib.pyplot.gca
@developer Could please help me check this issue? May I pull a request to fix it? Thank you very much.