Python Forum
Private package distribution abomination disadvantages research
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Private package distribution abomination disadvantages research
#1
Python noob here (BTW is there a dedicated noun for this?)

Intro
I need to store Python packages privately at work. By privately I mean only available inside the company. Because of the infrastructure I am forced to keep .tar.gz packages in an NPM repository. No, at this point I have no ammo to shoot back against this.

This means that the URL to a package is like so: https://some.host.company.com/foo/bar/pa...2.3.tar.gz.

In a Python project in which I want to use the package 'package-name' I create a requirements.txt file with the following content:

--find-links https://some.host.company.com/foo/bar/package-name/-/
package-name==1.2.3
At project build time there would be run the following command:

pip install -r requirements.txt
.. and all is good. The project can be built, run etc. I can also add public Python packages in the requirements.txt file and things still work. I can also add several --find-links lines at the beginning, one for each private package and thing still work.


The problem: I believe this is an abomination which stinks and could create problems later down the road and I would like to learn what are the disadvantages of practicing this. However the internal infrastructure is quite inflexible and it would take a lot of effort to make it to properly internally host and publish packages.

Therefore I need strong arguments against this in order to convince the infrastructure guys. What could those arguments be?
Thank you!
Reply


Messages In This Thread
Private package distribution abomination disadvantages research - by andreir - May-06-2020, 07:52 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  distribution fit Glaucio 1 290 Apr-07-2024, 12:30 AM
Last Post: Larz60+
  Weight Distribution 11drk9 11 878 Mar-13-2024, 06:08 AM
Last Post: Pedroski55
Information Best distribution method inovermyhead100 0 606 Jul-19-2023, 07:39 AM
Last Post: inovermyhead100
  Lint and private var names PatM 1 733 Dec-15-2022, 05:08 PM
Last Post: deanhystad
  How do I use a whl puython distribution? barryjo 6 1,884 Aug-15-2022, 03:00 AM
Last Post: barryjo
  Unable to import Private Repo using setup.py Bob786 1 1,793 Sep-02-2021, 04:19 PM
Last Post: snippsat
  Coin Toss - Distribution lasek723 6 3,214 Oct-04-2020, 01:36 PM
Last Post: deanhystad
  python 3 dns lookup private domain didact 1 2,630 Sep-19-2020, 06:01 PM
Last Post: bowlofred
  [split] Помощь по приватным ключам/Private key help sairam17519 0 1,631 Sep-07-2020, 12:55 PM
Last Post: sairam17519
  Download file from Private GitHub rep vinuvt 0 2,014 Jul-27-2020, 11:38 AM
Last Post: vinuvt

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020