• 25 Posts
  • 1.58K Comments
Joined 3 years ago
cake
Cake day: June 20th, 2023

help-circle
  • Well if the requirements.txt is pinned to a specific version of a dependency of a dependency, you might not know or really care why that’s set. But then this becomes a nightmare and dependency hell laterif you want a newer version of some package, and that newer version requires a bunch of newer packages and loses the others. At that point you probably will toss your old file and start a new one from scratch piecing together all the requirements with like pip freeze in a new virtual environment.

    Sure you could omit the versions, but then everytime you deploy, you don’t know what you’re going to get and a deployment today would be very different next week with a whole bunch of different versions of dependencies.


  • Yes exactly, like if I know my app needs the requests library, I will just put that in requirements.in but after compile requirements.txt will include the exact version of requests and every version of each dependency. So that every time pip install is run, all dependencies are always the same despite what happens upstream


  • Curious what others have to say, but my go to is to have a requirements.in with direct packages I need for the project, and then run pip-compile to generate all the dependencies with their exact version at the time so that deployments are repeatable. This works well for deployment, but if I were writing a library for others to use, I think you put the direct dependencies in setup.py









  • bamboo@lemmy.blahaj.zoneto196@lemmy.blahaj.zoneRule
    link
    fedilink
    English
    arrow-up
    16
    ·
    9 days ago

    The administration is trying to claim that there were ceasefires and that because there were (based on their claims), the conflict timer resets so as to be with the 60 day window before Congress needs to approve the continued use of the military. So basically the new conflict that just started immediately follows the previous conflict, that started back in February, is still within the 60 day window.



  • “Did the toll records that you requested from the Senators, did they include the content of the phone calls?” Smith was asked.

    “No,” he said. He again answered no when asked whether the toll records he had requested included the content of text messages.

    Jordan, in his referral, says that that answer was misleading in light of newly released records from Republican Sen. Chuck Grassley of Iowa showing that Smith had obtained the contents of 44 lawmakers’ text messages in a separate subpoena to the National Archives and Records Administration that sought the communications of various Trump advisers and aides.

    Doesn’t seem like the statement Smith made was false, just that the question was too narrowly focused on toll records and Senators specifically. They should have asked if any contents of anyone’s text messages were accessed by any subpoena in the investigation, but they didn’t.



  • I’ve never picked Oracle, but I think their sales pitch is basically to make a good upfront offer with tons of credits which you can’t ignore. The credits expire in like 3 years or something which seems long, and when you’re chasing quarterly profits, cutting your provider cost by 60% helps you look like you made things more profitable. They’re banking on vendor lock in and inertia to keep you in after the credits run out and then they can squeeze you for money.