All Questions
Tagged with version-control python
209
questions
0
votes
0
answers
39
views
How to Version Control a PostgreSQL Table?
Backend: Python 3.11 and Django 5.0.6
Database: PostgreSQL 15
Our app deals with reporting from the database. We don't store report SQL queries in the codebase; instead, we store them in DB tables. ...
-3
votes
0
answers
20
views
Need guidance on a document version control project [closed]
I have a document version control project where basically two things needs to be done:
identify which document is the latest of them
what are the historical version control changes on the documents?
...
0
votes
1
answer
30
views
Pip version trouble in pycharm
So, I want to start a new project in pycharm and it always starts with an outdated version of pip and I have to do the upgrade. It's not really a problem for a project, but it's getting annoying for ...
0
votes
2
answers
43
views
How can I install extras from a git subdirectory with pip?
pip supports VCS installs, as documented in https://pip.pypa.io/en/stable/topics/vcs-support/ (related question: How can I install from a git subdirectory with pip?).
However, it seems that it's not ...
0
votes
0
answers
68
views
Switch to another python version in Jupyter and in VS Code
I am using a Langchain to create a LLM in python version 3.12.4. However, I am getting an error mentioned below:
TypeError: ForwardRef._evaluate() missing 1 required keyword-only argument: '...
1
vote
1
answer
374
views
What does the error 'module 'langchain' has no attribute 'verbose' refer to?
Kind of new to Langchain/Qdrant but I'm building a recommendation engine to recommend users based on the contents of their associated PDF files, and I need to process PDFs and store their chunks in a ...
0
votes
0
answers
40
views
`pyenv versions` Not showing my previously installed python version on Windows
I had python version 3.11.5 installed on Windows 11.
Then I installed pyenv to manage python versions.
But then the pyenv versions was not showing the previously installed python version.
I installed ...
1
vote
2
answers
2k
views
Unable to update to latest OpenPyXL version 3.1 or later using Anaconda Prompt
I am trying to work with the 'openpyxl' library and pandas but receive the following error when I run my code.
ImportError Traceback (most recent call last)
Cell In[27], ...
0
votes
1
answer
141
views
How do i put a .env file in GitHub?
In most instances .env files for Python are in the .gitignore directory. However it's crucial for me to have my .env file in my private repository. I need to be able to git pull it to my local ...
2
votes
1
answer
480
views
Using SETUPTOOLS_SCM_PRETEND_VERSION for package version inside Docker with .git directory in dockerignore
I'm using setuptools scm to dynamically provide version numbers for a Python package, and have these lines in the pyproject.toml:
...
dynamic = ["dependencies", "version", "...
0
votes
1
answer
27
views
save settings in Gitlab pipelines Run pipeline
I have a Gitlab project and would like to run a pipeline with Build > Pipelines > Run pipelines. How to save the settings I make here, so I dont always have to make the variables again?
Also, ...
0
votes
0
answers
52
views
Running a previous GIT version of a Python project in VS Code
I'm developing a large GUI project in Python. I use VS Code as my editor and am using git for [local only] version control. I'm using the application as it's continuing to be developed, so I'm looking ...
0
votes
1
answer
41
views
Why can't I use the turtle GIU for python anymore?
I have used pycharm to run python code, and I want to use the GUI => The turtle, and the screen to run it, but it keeps on giving me errors or a black screen. What do I do? The same happens with ...
0
votes
1
answer
153
views
Ignoring specific folders in `.gitignore` not working as expected
I'm encountering an issue with ignoring specific folders in my Git repository using the .gitignore file. Despite specifying folders to be ignored, the contents of these folders are still showing up in ...
1
vote
1
answer
518
views
load dvc files from and to cache using python api
At the moment i use this code to load a certain revision of my data to a pandas dataframe. Since my data are stored in an azure storage account, this always requires me to download the data for every ...