Steven Senne/Associated Press

The Massachusetts Cannabis Control Commission issued four final recreational marijuana licenses to two companies Thursday, a major milestone in the state’s slow-moving rollout of the regulated pot market approved by more than 1.7 million voters in 2016.

The commission granted one license to a retail pot shop in Northampton owned by New England Treatment Access, which currently operates it as a medical marijuana dispensary. The other three went to Cultivate Holdings, which operates a cannabis cultivation, processing, and retail facility in Leicester.

It will be weeks yet before the facilities can commence recreational operations and open their doors to the public, however.

Before any shops can open, they must pass another final inspection before getting a “commence full operations” notice and beginning sales.

And perhaps most significantly, the shops must wait until a testing laboratory wins a final license from the commission because all marijuana products must be tested for purity and…