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

Add a pip-licenses test #82

Open
jstjohn opened this issue Aug 7, 2024 · 0 comments
Open

Add a pip-licenses test #82

jstjohn opened this issue Aug 7, 2024 · 0 comments

Comments

@jstjohn
Copy link
Collaborator

jstjohn commented Aug 7, 2024

Install pip-licenses into the test environment and add a test that our license is getting properly placed in each installed sub-package. You can manually verify using a command like the following:

pip install pip-licenses

Grep out our bionemo related licenses, show the first 4 lines of each for brevity here but we may want to check more in the test:

pip-licenses | grep -i bionemo -A 4

Returns:

 bionemo-core                   2.0.0                                                                                                                                 
                                                                                                Apache License                                                        
                                                                                          Version 2.0, January 2004                                                   
                                                                                       http://www.apache.org/licenses/                                                
                                                                                                                                                                      
--
 bionemo-esm2                   2.0.0                                                                                                                                 
                                                                                                Apache License                                                        
                                                                                          Version 2.0, January 2004                                                   
                                                                                       http://www.apache.org/licenses/                                                
                                                                                                                                                                      
--
 bionemo-example_model          2.0.0                                                                                                                                 
                                                                                                Apache License                                                        
                                                                                          Version 2.0, January 2004                                                   
                                                                                       http://www.apache.org/licenses/                                                
                                                                                                                                                                      
--
 bionemo-fw                     2.0.0                                                                                                                                 
                                                                                                Apache License                                                        
                                                                                          Version 2.0, January 2004                                                   
                                                                                       http://www.apache.org/licenses/                                                
                                                                                                                                                                      
--
 bionemo-geneformer             2.0.0                                                                                                                                 
                                                                                                Apache License                                                        
                                                                                          Version 2.0, January 2004                                                   
                                                                                       http://www.apache.org/licenses/                                                
                                                                                                                                                                      
--
 bionemo-llm                    2.0.0                                                                                                                                 
                                                                                                Apache License                                                        
                                                                                          Version 2.0, January 2004                                                   
                                                                                       http://www.apache.org/licenses/                                                
                                                                                                                                                                      
--
 bionemo-testing                2.0.0                                                                                                                                 
                                                                                                Apache License                                                        
                                                                                          Version 2.0, January 2004                                                   
                                                                                       http://www.apache.org/licenses/ 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant