Questions tagged [hatch]

Hatch is a Python project manager. Use this tag for the Hatchling Python build back-end as well.

21 questions
0
votes
1 answer

Solidworks API edit Face Hatch

I have a drawing with hatched views (sections, detail views). Next, I created a simple macro (the business logic is shown below). The problem is, in sections, the first output of the compCount variable does not match the second output of the…
Nicomed
  • 1
  • 1
0
votes
2 answers

Simple way of adding hatches to only one bar of interest

I'm searching for an easy way of adding hatches to my plots in matplotlib. I only want the hatches in specific bars and not for all my bars in the plot. I don't want to manually put settings for each bar. 0) This is a part of my df: target …
beginner
  • 1
  • 3
0
votes
1 answer

pip install git+https://bitbucket.company.com/path/to/package.git is not installing dependencies from requirements.txt

I am trying to install a python package from my organization's Bitbucket instance which I have been developing using the below commands: $ python -m venv venv $ source venv/bin/activate (venv) $ pip install…
0
votes
1 answer

pytest coverage with conditional imports and optional requirements

I got a hint to use optional requirements and conditional import to provide a function that can use pandas or not, depending whether it's available. See here for reference: https://stackoverflow.com/a/74862141/10576322 This solution works, but if I…
FordPrefect
  • 320
  • 2
  • 11
0
votes
0 answers

Debugging hatch executables generated by project.gui-scripts

I have a question for you that is making me crazy. I am working on my python package. I'm building my package using hatchling and pyproject.toml and I have also three GUI targets. To make them I'm using the project.gui-scripts section in the project…
toto
  • 110
  • 1
  • 6
0
votes
0 answers

Can the Hatch build tool update multiple files when I bump the version?

The Hatch build tool has a versioning feature that can automatically bump the version of a Python project like this: Simply define the file that holds the version: [tool.hatch.version] path = "improv_guide/__about__.py" And then issue a command to…
Salim Fadhley
  • 6,975
  • 14
  • 46
  • 83
1
2