Why depend on python and spinx-doc

Installed crystal via brew and it downloaded python, sqlite and spinx-doc dependencies.

Wonder if those are really necessary?

Are you sure brew just didn’t also just update other stuff when it installed crystal?

brew info crystal
crystal: stable 0.32.0 (bottled), HEAD
Fast and statically typed, compiled language with Ruby-like syntax
/usr/local/Cellar/crystal/0.32.0 (1,028 files, 54.4MB) *
  Poured from bottle on 2019-12-12 at 11:16:21
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/crystal.rb
==> Dependencies
Build: autoconf ✘, automake ✘, libatomic_ops ✘, libtool ✘
Required: gmp ✔, libevent ✔, libyaml ✔, llvm ✔, pcre ✔, pkg-config ✔

Crystal doesn’t have any dependency on any of those.

Same opinion as @Blacksmoke16, not even nested dependencies show those.

$ brew deps --tree crystal
├── gmp
├── libevent
│   └── openssl@1.1
├── libyaml
├── llvm
│   ├── libffi
│   └── swig
│       └── pcre
├── pcre
└── pkg-config

Thanks for fast reply, please ignore this issue then. Maybe something wrong with my machine, I have old XCode.
brew printed that it needs python as a dependency

==> Installing dependencies for crystal: libatomic_ops, gmp, libevent, libyaml, 
readline, sqlite, python, sphinx-doc, cmake, pcre, swig and llvm

I’ve had the same experience with

brew upgrade crystal-lang

It does look like a brew quirk to me.