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

Fix pip installation #30

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Fix pip installation #30

wants to merge 2 commits into from

Conversation

Almenon
Copy link

@Almenon Almenon commented Feb 18, 2023

This should fix #6. Relevant: https://stackoverflow.com/questions/65326080/python-setup-config-install-requires-good-practices. I confirmed that packj audit and auth works with the pinned versions.

It also adds directions for avoiding #10

version pinning needed to avoid bad versions

```
bundle install
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't do anything if you just install through pip, so I deleted this section.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is needed for auditing Rubygems packages.

Copy link
Collaborator

@ashishbijlani ashishbijlani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will test these changes with multiple Python versions.


```
bundle install
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is needed for auditing Rubygems packages.

@@ -20,7 +20,7 @@
long_description_content_type = 'text/markdown'

# this grabs the requirements from requirements.txt
REQUIREMENTS = [i.strip().split('==')[0] for i in open(os.path.join(here, "requirements.txt")).readlines()]
REQUIREMENTS = [i.strip() for i in open(os.path.join(here, "requirements.txt")).readlines()]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pinning deps is ideal, but this results in incompatibilities with different Python versions. I will test this.

@Almenon
Copy link
Author

Almenon commented Feb 20, 2023

This is needed for auditing Rubygems packages.

bundle install won't do anything without the Gemfile. What about replacing it with this then?: For auditing rubygems please install from source or use the docker image.

Pinning deps is ideal, but this results in incompatibilities with different Python versions. I will test this.

Thanks for the testing!

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

Successfully merging this pull request may close these issues.

Fails on some google shit
2 participants